Placing Videos the Standards Compliant Way

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

swf Format

The typical structure for a flash video would be:

<object id="swf" type="application/x-shockwave-flash" data="http://example.com/flash.swf" width="400px" height="366px">
   <param name="movie" value="http://example.com/flash.swf" />
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="quality" value="high" />
   If you're not seeing a flashthingy hnyah, go over <a href="http://example.com/somecoolflashvideo.html">hnyah</a>.
</object>

An elaborate example would be a Google Video, since they require more parameters than… say, a Youtube video.

If you’re not seeing a flashthingy hnyah, go over hnyah.

A normal day in Stunt City.

Here’s the video’s code:

<object id="VideoPlayback" type="application/x-shockwave-flash" width="400px" height="326px" data="http://video.google.com/googleplayer.swf?docId=-2460944945363859076&hl=en">
   <param name="movie" value="http://video.google.com/googleplayer.swf?docId=-2460944945363859076&hl=en" />
   If you're not seeing a flashthingy hnyah, go over <a href="http://video.google.com/videoplay?docid=-2460944945363859076">hnyah</a>.
</object>

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)