Following examples demonstrate YouTube playback customization technique by adding web query parameters to the video URL (i.e. the links to YouTube video items).
Setting the video playback starting point
Setting the video playback starting point by specifying the offset-time in minutes and seconds from the beginning of video clip (in this example, it is set to 1min:50 sec, which will force the player to start the sample music-video "The Verve - Bitter Sweet Symphony" at specified time marker):
http://www.youtube.com/watch?v=1lyu1KKwC74&t=1m50s[^],
where parameter "NGRgHj9hsqw
" represents the actual video item ID
in YouTube classification system; this is the mandatory part of YouTube URL string. Parameter &t=1m50s
specifies the video playback starting point. Alternatively, it could be coded in the following format: #t=1m50s
Full Screen Mode
Playback in a Full Screen mode: http://www.youtube.com/v/1lyu1KKwC74, where 1lyu1KKwC74
represents the aforementioned video id.
Autoplay
Playback Autoplay option in a full-screen mode is set to "OFF" by default. In order to turn it "ON", add the parameter "&autoplay=1
" to the end of the URL web query.
Loop
Playback Loop (number of video re-plays) could be specified by adding the following parameter: “&loop=2” to the end of the query to play the video twice or “&loop=3” to replay it three times and so on.
Related Videos option On/Off
Turn “OFF” the "Related Video" option to filter-off "extras" from the video port by adding “&rel=0” to the end of the web query.