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 Windows Media Video (.wmv) file using Valid XHTML
NOTE: Tested and validates. DOWNLOADS ENTIRE MOVIE BEFORE play can begin (hmmm, this needs to be checked). Best used ONLY for SMALL file sizes. Better still, use Ohlone's YouTube account (YouTube doesn't accept WMV files so convert it first).
<div class="center">
<object type="video/x-ms-wmv"
width="350" height="285" class="lightbackgroundcolor2">
<param name="src" value="PATHFILENAME.wmv" />
<param name="autoStart" value="0" />
<param name="controller" value="true" />
alt : <a href="PATHFILENAME.wmv">PATHFILENAME.wmv</a>
</object><br />
<span class="smalltext">(Video is not captioned; no transcript.)<br />
<a href="PATHFILENAME.wmv">View WMV file in external video application.</a></span>
</div>
- Replace PATHFILENAME.wmv with desired path and filename for *.wmv file
- NOTE: Firefox "blanks out" the background behind the video when the scrollbar is touched, so the class on the <object> tag makes sure there's a colored background - so the video space on the page isn't just a big white nothing.
- http://joliclic.free.fr/html/object-tag/en/object-video.xhtml#mov
