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.
< ![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…
Miguel wrote:
Convertí tu chicklet en 80×15 espero que no te moleste
Posted on 14-Jul-06 at 8:13 pm | Permalink
rolandog wrote:
Gracias, Miguel… aunque ya tenia yo botones de 80×15 en la seccion de Plug… pero esta chido el boton animado. Gracias!
Posted on 15-Jul-06 at 12:50 am | Permalink
Stan Bogdanov wrote:
… autoplay does not, but have you tried “autostart”
Posted on 18-Aug-06 at 6:40 am | Permalink
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.
Posted on 18-Aug-06 at 6:53 am | Permalink