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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Location
    Hawthorne, CA
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how do you embed a flash video so that non flash browsers ignore it.

    I have a footer that is a flash video (which is placed over a still frame of the video). I would like to have it so that if a flash enabled browser logs on the flash file automatically plays, but if a non flash browser logs on all they see is the image behind it. I don't want any hint that flash was ever on the page for non flash viewers. is this possible?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,607
    Thanks
    6
    Thanked 997 Times in 970 Posts
    That’s why you can put alternative content inside the object element (with which the flash object is included). In case some browser can’t handle Flash the alternative content will be displayed. That’s the same approach as the alt attribute in images.

    However, the best way to embed Flash nowadays is to use SWFobject which is going the progressive enhancement way by actually marking up your HTML (alternative) content as default and if a browser supports Flash/JavaScript, it will display the enhanced version, i. e. the Flash object. Plus it prevents the “click to activate” message to appear in IE.


  •  

    Tags for this Thread

    Posting Permissions

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