Steps

1. Download and install VLC:

sudo apt-get install vlc

 

2. Configure the following file:

sudo nano /home/pi/.Xsession

 

3. Add the following:

cvlc –fullscreen typemediafilepathhere

 

Credits

https://www.raspberrypi.org/forums/viewtopic.php?t=49114