Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow XHTML flash embed compliance problem

    Can anyone tell me the proper way to embed a flash movie in an xhtml 1.0 transitional page so that it still meets w3c xhtml compliance while also loading in netscape or mozilla? My page loads great in IE, opera, and safari but it won't load in those other 2. Here's an example of what my code looks like now:

    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" width="100" height="100">
    <param name="movie" value="flash/movie.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    </object>
    Last edited by Brad_Armitage; 01-13-2006 at 02:12 PM.

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Last edited by Bill Posters; 01-13-2006 at 02:18 PM.

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, so I tried the suggestion on this site:

    http://www.alistapart.com/articles/flashsatay/

    It worked, except one question it didn't answer was if I don't want to embed a small flash file on my page and include the:

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"

    Is there another way to prompt the user to download the latest version of the flash player?

  • #4
    Senior Coder
    Join Date
    Feb 2003
    Posts
    1,665
    Thanks
    0
    Thanked 27 Times in 25 Posts
    Two options...
    • You can nest a message within the object tags that will be used if Flash is not supported. You can use this to provide a message and link to the Flash download page.

      e.g.
      Code:
      <object ...>
      	<param ... />
      	<param ... />
      	<p>The Flash plugin is required to view this content. <a href="...">Get Flash plugin</a></p>
      </object>
    • You could use js to add the codebase attribute. This should catch most users.

      You could supposedly do both - add the message to the markup as well as using js to add the codebase to the object tag.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •