Ramblings on technology with a dash of social commentary
RSS icon Email icon Home icon
  • How to embed Windows Media Files on your Website

    Posted on November 7th, 2010 phpguru No comments

    This article over at Microsoft explains how to embed .WMV (Windows Media Video) as well as .ASF files on the web.

    The thing is, their method seems crippled (even wrong) as it explains how to create an additional text file for every WMV video, and to save it with a .wvx or .asx extension… which is quite strange, in addition to being totally time consuming and redundant.

    While that may be the official method, I found this post at MediaCollege which has a simple object embed tag for WMV, but it doesn’t validate, since <embed> tags are deprecated.

    In the end, I went with this technique at A List Apart . You may want to try this one first, because it’s more effective in more browsers, and is the only way to do it if you want your document to validate under a strict XHTML doc type.

    Now you know how to embed .wmv — the right way. Enjoy!

    Leave a reply