Youtube “HD” as XHTML 1 Strict

Posted on March 30, 2008  | Permalink
Filed under Random Web News

You read about the fmt=18 parameter to watch the higher quality .mp4 files at Youtube, but you don’t know how to “embed” these videos? Well, here is a valid “XHTML 1 Strict” code to put Youtube’s higher quality .mp4’s on your site:

PHP:
  1. <object type="application/x-shockwave-flash" style="width: 450px; height: 400px;" data="***&ap=%2526fmt%3D18">
  2. <param name="quality" value="best" />
  3. <param name="wmode" value="transparent" />
  4. <param name="movie" value="***&ap=%2526fmt%3D18" />
  5. <param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />
  6. </object>

Just replace *** with the url of the Youtube file – not the url of the youtube page! If there is no Youtube .mp4 version available, it will display the lower quality version instead, no worries.

Youtube page: http://www.youtube.com/watch?v=EXAMPLE
Youtube file: http://www.youtube.com/v/EXAMPLE

Comments

  1. Webcreation on May 17th, 2008 3:26 pm

    Watch YouTube HD - higher definition, and download MP4 videos, check this site :

    http://www.ouideo.com/youtube/

    Really good !

 

Comments by unregistered visitors will wait for approval. Registration removes comment activation and is dead simple.




You can use <strong>, <em>, <a>, <img> and <blockquote>. Code should be wrapped in `backticks`. — Nasty comments might enjoy moderation.

© 2008 Aestheticrew.com is trying to focus on
graphic and information design, typography, contemporary art and fashion, marketing and advertisement strategies, aesthetical believes and strong attitudes.