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

  • Use Markdown, and it will escape the code for you, like `<div class="cool">`.
  • Use triple-backticks for blocks of code.
    ``` 
    <div>
      <h1>multi-line block of code</h1>
      <span>be cool yo.</span>
    </div>
    ```
  • Otherwise, escape your code, like <code>&lt;div class="cool"&gt;</code>. Markdown is just easier though.

Current ye@r *

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