Placing Videos the Standards Compliant Way

You can skip to a specific format’s section by clicking a link from the following list:

wmv Format

Finally, we deal with the Windows Media Video (.wmv) video format. The following video’s width is 320, and its height 240… but the toolbar should also be taken into account, so remember to add 46 pixels to the height.

If you’re not able to see this, try visiting pinky the cat’s Ourmedia page.

< ![endif]-->

Pinky received the ‘pet of the week’ award at the Placer County Animal Shelter. He is still looking for adoption.

The code used was:
<!--[if !IE]> <–>
<object id=”wmvPlayer” data=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” standby=’Loading Microsoft Windows Media Player components…’ type=’type=”video/x-ms-wmv”‘ width=”320″ height=”270″>
   <param name=’fileName’ value=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” />
   <param name=’src’ value=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” />
   <param name=”autostart” value=”false” />
   <param name=”controller” value=”true” />
   <param name=”autosize” value=”true” />
If you’re not able to see this, try visiting <a href=”http://www.ourmedia.org/node/187599″>pinky the cat</a>’s Ourmedia page.
</object>
<!–> <![endif]–>
<!–[if IE]>
<object id=”wmvPlayer” data=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” classid=’clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95′ standby=’Loading Microsoft Windows Media Player components…’ codebase=’http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701′ type=’application/x-oleobject’ width=”320″ height=”270″>
   <param name=’fileName’ value=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” />
   <param name=’url’ value=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” />
   <param name=’src’ value=”http://www.archive.org/download/PlacerCountyAnimalShelter_0/pinkycat.wmv” />
   <param name=”autostart” value=”false” />
   <param name=”showcontrols” value=”true” />
   <param name=”autosize” value=”true” />
If you’re not able to see this, try visiting <a href=”http://www.ourmedia.org/node/187599″>pinky the cat</a>’s Ourmedia page.
</object>
<![endif]–>

I learned this from this www.webdeveloper.com thread. Also, ironically enough… the straight-forward method proposed in this Moodle thread, didn’t work in Internet Explorer 6…

Pages: 1 2 3 4 5 6 7 8 9

Comments (4) left to “Placing Videos the Standards Compliant Way”

  1. Miguel wrote:

    Convertí tu chicklet en 80×15 espero que no te moleste ;)

  2. rolandog wrote:

    Gracias, Miguel… aunque ya tenia yo botones de 80×15 en la seccion de Plug… pero esta chido el boton animado. Gracias!

  3. Stan Bogdanov wrote:

    … autoplay does not, but have you tried “autostart”

  4. Stan Bogdanov wrote:

    ….doesn’t work that way…

    The DivX web player plugin has a bug when you place any params in the object tag.
    This http://flt.nbu.bg/taxonomy/divx_no_embed.html validates but you don’t have the full controls in non-IE browsers as you can get them in IE6 and 7.

Post a Comment

*Required
*Required (Never published)