Get a free trial // Grow your CSS skills // Land your dream job

Embedding Windows Media

Last updated on:

Valid technique, as it doesn't need the <embed> tag.

<object type="video/x-ms-wmv" 
  width="320" height="260">
  <param name="src" 
    value="movie.wmv" />
  <param name="autostart" value="true" />
  <param name="controller" value="true" />

Reference URL


  1. LuK
    Permalink to comment#

    I have problems in ie with this one…I want to embed an .asx audio/webstream but IE in versions 6 & 7 doesn’t load the stream^^…had to go back to the embed-tag =/

  2. Sushant
    Permalink to comment#

    How to deal with VarBinary if video is store in format of byte in database and retrieving from ashx how to show video then

  3. zeeshanqaswar
    Permalink to comment#

    Hi ! i want to know is there any plugin i need to play ? because i used this and put video link in value it show me plugin error and with this can i play .asx file ! thanks in advance !

Leave a Comment

Posting Code

We highly encourage you to post problematic HTML/CSS/JavaScript over on CodePen and include the link in your post. It's much easier to see, understand, and help with when you do that.

Markdown is supported, so you can write inline code like `<div>this</div>` or multiline blocks of code in in triple backtick fences like this:

  function example() {
    element.innerHTML = "<div>code</div>";

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed