Main Page - Log in -

YouTube notes

From Noah.org

Jump to: navigation, search


Link directly to High Quality YouTube video

By default, URLs to YouTube videos open up in Normal Quality, but you can easily link directly to the High Quality version by adding the following to the end of a YouTube URL: &fmt=18 For example, http://www.youtube.com/watch?v=3rW74KU5Q4w becomes http://www.youtube.com/watch?v=3rW74KU5Q4w&fmt=18.

If you are using the embedded player on your site, you can tell it to use High Quality MP4 instead of the default Normal Quality. In the chunk of HTML that YouTube gives you for embedding the video URL will appear in two places. In both copies of the URL you must add the following to the end of the URL: &ap=%2526fmt%3D18. Use &fmt=22 if the video is 720p high def.

<object
    type="application/x-shockwave-flash"
    style="width:640px; height:505px;"
    data="http://www.youtube.com/v/3rW74KU5Q4w&fs=1&border=0&ap=%2526fmt%3D18" >
        <param name="movie" value="http://www.youtube.com/v/3rW74KU5Q4w&fs=1&border=0&ap=%2526fmt%3D18" >
        <param name="wmode" value="opaque" />
        <param name="autoplay" value="0" />
        <param name="loop" value="0" />
        <param name="egm" value="1" />
</object>

URL Encode the fmt parameter: &fmt=18 => %26fmt=18 => %2526fmt%3D18

Note that some parameters much be in the query string not in the object param list. For example, the full-screen option <param name="allowFullScreen" value="true" /> appears to be useless; you must have &fs=1 in the query strings.

Link to a specific time in a YouTube video

Add the following to the end of a YouTube URL. Note that this is a # aref target, not an & query string parameter. Replace 0m with the start time in minutes and 0s with the start time in seconds.

#t=0m0s

For example, this starts the video 13 seconds into the stream: http://www.youtube.com/watch?v=3rW74KU5Q4w&fmt=18#t=0m13s