Grow your CSS skills. Land your dream job.

Last updated on:

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. 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

Leave a Comment

Posting Code

Markdown is supported in the comment area, so you can write inline code in backticks like `this` or multiline blocks of code in in triple backtick fences like this:

```
<div>Example code</div>
```

You don't need to escape code in backticks, Markdown does that for you. If anything screws up, contact us and we can fix it up for you.

*May or may not contain any actual "CSS" or "Tricks".