Embedding Windows Media

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

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

Reference URL

Comments

  1. User Avatar
    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. User Avatar
    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. User Avatar
    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 !

Posting Code

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.

Submit a Comment

icon-closeicon-emailicon-linkicon-menuicon-searchicon-tag