Download Tim Schwartz’s Video Looper SD card image ( http://www.timschwartz.org/raspberry-pi-video-looper/ ) and use it to create an SD card for the Raspberry PI using the instructions found on his site.
Edit and modify the config file on the SD card using a PC or Mac to set it up to display the video vertically.
*NOTE – I had to use “display_rotate=3” (i.e. rotate it 270 degrees) to position the monitor’s power button in the lower left corner of the frame.
Download the Master Gracey changing portrait video found here – https://www.youtube.com/watch?v=u-1ixq7zTBE
Copy the Master Gracey video to the SD card using a PC or Mac. It can be copied anywhere on the SD card as it will be moved later.
Connect a keyboard, mouse, and your monitor to the Rasberry PI and boot it up.
Once it boots and starts playing the demo video, hit the Esc key on the keyboard and use the mouse to navigate to the lower left of the screen to bring up a menu to get to X Windows. From there you can move the video file to the /home/pi/video directory.
Reboot the Raspberry Pi. Make sure it automatically plays the video and it plays it vertically.