SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2003
    Lexington, KY
    0 Post(s)
    0 Thread(s)

    valid way to embed wmv files?

    What's the correct way to embed a wmv file which will still be valid xhtml?


  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Aurora, Illinois
    0 Post(s)
    0 Thread(s)

    To quote from Ms. Castro herself (note for OTHER READERS: I will be assuming you are using XHTML, if not, remove the / before the closing portion of the tag):

    HTML Code:
        <object type="video/x-ms-wmv" 
         data="" width="320" height="260">
         <param name="src" value="" />
         <param name="autostart" value="true" />
         <param name="controller" value="true" />
    Obviously its width and height values should be replaced with your own movie link and width/height values.

    You can do the same with other media types as well. The same article will show you how to do it.

    Flash is a bit trickier however, but will show you how to do that if you ever need to learn how to embed Flash files. I have a c.swf file if you ever find yourself needing one. Feel free to ask me for it and I'll be more than happy to provide it.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts