Global Find Info and People

Web Team Procedures and Notes

This page is intended for use only by the Web Team.

Valid XHTML <object> Tags for Videos and more

Go to Index of Valid XHTML <object> Tags.

Embedding a YouTube Video using Valid XHTML

NOTE: Tested and validates. Off-site service: youtube.com.

<div class="embeddedmedia video centertag" style="width:425px;">
<object type="application/x-shockwave-flash" 
  style="width:425px; height:344px;" 
  data="http://www.youtube.com/v/MOVIEID&amp;rel=0"> 
  <param name="movie" value="http://www.youtube.com/v/MOVIEID&amp;rel=0" /> 
  <param name="wmode" value="transparent" /> 
</object>
<span class="smalltext">(Video is not captioned; no transcript.)</span><br />
<span class="source"><a href="http://www.youtube.com/watch?v=MOVIEID">VIDEONAME video from Ohlone College on YouTube.</a></span>
</div>

(Video is not captioned; no transcript.)
The Real World Ohlone video from Ohlone College on YouTube.

Exact code for above YouTube video:

<div class="embeddedmedia video centertag" style="width:425px;">
<object type="application/x-shockwave-flash" 
  style="width:425px; height:350px;" 
  data="http://www.youtube.com/v/Co1s_DKQnH0&amp;rel=0"> 
  <param name="movie" value="http://www.youtube.com/v/Co1s_DKQnH0&amp;rel=0" /> 
  <param name="wmode" value="transparent" /> 
</object><br />
<span class="smalltext">(Video is not captioned; no transcript.)</span><br />
<span class="source"><a href="http://www.youtube.com/watch?v=Co1s_DKQnH0">The Real World Ohlone video from Ohlone College on YouTube.</a></span>
</div>

Footer