RSS Feed

Placing Videos the Standards Compliant Way

2006/07/14 by Rolando Garza

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>


4 Comments »

  1. Miguel says:

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

  2. rolandog says:

    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 says:

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

  4. Stan Bogdanov says:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <del datetime=""> <em> <i> <img src="" alt="" title="" class="" height="" width=""> <ins datetime="" cite=""> <li> <ol> <strike> <strong> <sub> <sup> <ul>