Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-08-2008, 07:27 PM   PM User | #1
opoohwan
New to the CF scene

 
Join Date: Sep 2008
Location: Hawthorne, CA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
opoohwan is an unknown quantity at this point
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?
opoohwan is offline   Reply With Quote
Old 09-08-2008, 09:27 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,614
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Reply

Bookmarks

Tags
flash, flash embedding, non-flash broswer

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:53 PM.


Advertisement
Log in to turn off these ads.