Difference between revisions of "YouTube notes"

From Noah.org
Jump to navigationJump to search
Line 13: Line 13:
 
&ap=%2526fmt%3D18
 
&ap=%2526fmt%3D18
 
</pre>
 
</pre>
 +
 +
<nowiki>
 +
<object
 +
    type="application/x-shockwave-flash"
 +
    style="width:425px; height:350px;"
 +
    data="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" >
 +
        <param name="movie" value="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" />
 +
        <param name="allowFullScreen" value="true" />
 +
        <param name="allowscriptaccess" value="always" />
 +
</object>
 +
</nowiki>
  
 
<html>
 
<html>
<object width=”425″ height=”344″>
+
<object  
<param name=”movie” value=”http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18“></param>
+
    type="application/x-shockwave-flash"
<param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param>
+
    style="width:425px; height:350px;"
<embed src=”http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18”
+
    data="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" >
    type=”application/x-shockwave-flash” allowscriptaccess=”always”
+
        <param name="movie" value="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" />
    allowfullscreen=”true” width=”425″ height=”344″></embed>
+
        <param name="allowFullScreen" value="true" />
</object>
+
        <param name="allowscriptaccess" value="always" />
 +
</object>  
 
</html>
 
</html>
  

Revision as of 15:13, 25 January 2009


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

<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" > <param name="movie" value="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> </object>

<html> <object

   type="application/x-shockwave-flash"
   style="width:425px; height:350px;" 
   data="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" >
       <param name="movie" value="http://www.youtube.com/v/3rW74KU5Q4w&hl=en&fs=1&ap=%2526fmt%3D18" />
       <param name="allowFullScreen" value="true" />
       <param name="allowscriptaccess" value="always" />

</object> </html>

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