View Full Version : A player for YouTube, Tubehop, DailyMotion and GoogleVideo.

01-31-2010, 11:32 PM
1) CODE TITLE: A player for YouTube, Tubehop, DailyMotion and GoogleVideo.

2) AUTHOR NAME: Arie Molendijk.

This is a script for playing video's from YouTube, Tubehop, DailyMotion and GoogleVideo. In the default case, the video´s are 'full window'. The playlist on top of the video's is (i) a set of select boxes without the well known IE-limitations or (ii) a set of links that can be hidden 'on demand' (and will be hidden when a new video is loaded).
The video's function independently from the provider's sites, meaning that an accidental click on the video-screen won't open a provider's window. The video's have buttons that show the video's URLS and valid includes (no embed!), and a button for instant replay. For each video, there's customizable info on top and at the horizontal center of the screen. A playing video can be completely stopped with a click on a 'cross' at the top right. After that, the video can be replayed with a click on a replay button. If you don't want the video's to be 'full window', there's an easy way to specify their left and top position and their size (in percentages). Full documentation in the source of the files.
The providers of the video's won't complain about violation of their respective TOS's, since for every video, there's always a button leading automatically to the provider's URL (at the bottom right of the video screen).

Demo's HERE (http://www.let.rug.nl/molendyk/include_video_fullwindow/include_video_select.html) and HERE (http://www.let.rug.nl/molendyk/include_video_fullwindow/include_video_normal.html). Download HERE (http://www.let.rug.nl/molendyk/include_video_fullwindow/download.html).