We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

jonhenshaw on 09/05/06


Tagged

object html flash embed swf


Versions (?)


Who likes this?

23 people have marked this snippet as a favorite

joernba
Navegante
marlfoskr
mrbohnke
ebukva
Hirmine
block
basicmagic
Sahoglu
koncept
jccovey
fael
vali29
arala22
visuallyspun
wbowers
nerdfiles
markor
angstmann
rovision
mrjthethird
lfatr
willbolton


How To Correctly Insert a Flash Movie Into XHTML


Published in: HTML 


URL: http://www.dgx.cz/trine/item/how-to-correctly-insert-a-flash-into-xhtml

Nice example of how to best insert a flash movie into an XHTML document.


  1. <!--[if !IE]>
  2. -->
  3. <object type="application/x-shockwave-flash"
  4. data="movie.swf" width="300" height="135">
  5. <!-- <![endif]-->
  6.  
  7. <!--[if IE]>
  8. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  9. codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
  10. width="300" height="135">
  11. <param name="movie" value="movie.swf" />
  12. <!-->
  13. <!---->
  14. <param name="loop" value="true" />
  15. <param name="menu" value="false" />
  16.  
  17. <p>This is <strong>alternative</strong> content.</p>
  18. </object>
  19. <!-- <![endif]-->

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: wintondeshong on May 1, 2008

I recommend swfobject (http://blog.deconcept.com/swfobject/)

You need to login to post a comment.