more omxplayer options

although been the best videoplayer on the raspberry the documentation is quite spread out over the net. so here the most useful commands to start a omxplayer:

--loop run a video in a loop
--win 'x1 y1 x2 y2' run video in a window defined by upper left corner(x1,y1) and right bottom corner(x2,y2)
--no-osd display without showing information
--blank showing video and blacking the rest of the screen

youtube videos on a raspberry pi

if you want to show youtube videos on raspberry pi you better do not go with a web browser but with the omxplayer.
this is a preinstalled videoplayer which is specially made for raspberry pis and works perfectly.

more info on the omxplayer can be found here

to show youtube videos you need the help of youtube-dl. because the package you get via apt-get is not the last version you better install via wget

sudo wget -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl

to play a video go to the terminal and type

omxplayer `youtube-dl -g [yotubeurl]`