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 7 of 7
  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Validated for FF need hack for IE? (Flash)

    Hello fellow coders,

    I have managed to get a site fully validated but when visiting browsershots I was highly disappointed with the results.

    I now seem to have a problem with the flash player. After taking off embed and using objects (for validation purposes) etc. The flash player does not work with IE 8 along with some others.

    You can find the latest shots here

    The source can be view at validator.w3.org

    Did I code the flash wrong?

    Please help

    Reta
    Last edited by Reta; 01-02-2010 at 10:26 AM.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Your code to embed your swf is incomplete. I'd recommend you to adopt sfwobject method.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Is it possible to complete the code and not have to adapt a new method?

    Here is the current code
    Code:
    <div id="MP3PlayerVIP">
    <object data="http://www.soundclick.com/widgets/creatives/mp3PlayerVIP.swf" width="380" height="170">
    <param name="flashvars" value="bandid=105175&amp;ext=1" />
    name="MP3PlayerVIP" 
    type="application/x-shockwave-flash" 
    wmode="transparent" 
    <param name="movie" value="http://www.soundclick.com/widgets/creatives/mp3PlayerVIP.swf" /></object>
    Would greatly appreciate it

  • #4
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I think I fixed it for the most part. It now works with IE 8

    Code:
    <object type="application/x-shockwave-flash" data="http://www.soundclick.com/widgets/creatives/mp3PlayerVIP.swf" width="380" height="170">
    <param name="flashvars" value="bandid=105175&amp;ext=1" />
    <param name="movie" value="http://www.soundclick.com/widgets/creatives/mp3PlayerVIP.swf" />
    <param name"wmode" value="transparent" /> 
    </object>

  • #5
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I want to also put a message for browsers that do not have flash enabled "This website requires flash etc" or something along those lines. Does anyone know how to go about accomplishing this?

    Example: http://www.planetpayment.com/noJavaScript/
    Last edited by Reta; 01-02-2010 at 06:41 PM.

  • #6
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Quote Originally Posted by Reta View Post
    I want to also put a message for browsers that do not have flash enabled "This website requires flash etc" or something along those lines. Does anyone know how to go about accomplishing this?
    I’ll tell you right away: That is a bad approach to build websites. These messages you see frequently are actually “alternative content” a feature which has been developed to display some content that still makes it possible to get the subject of the site even if Flash isn’t supported. A message like “flash is required” isn’t helping anyone, it’s rather imposing your requirements on the visitors which is bad behavior in a free medium like the internet. And don’t assume that everybody has the possibility to install Flash at all.

    Sooooo, please make yourself familiar with progressive enhancement (and its older conceptional counterpart “graceful degradation”) and please do adapt to SWFObject. If you have a music player that relies on Flash then it’s OK to not have a music player if people don’t have Flash, as long as they still get the message of your site. The music player isn’t an essential part for the understanding of the site so just don’t display alternative content (or even worse, a “required” message) at all, just let it degrade gracefully (i. e. have a website without player).
    Last edited by VIPStephan; 01-02-2010 at 07:56 PM.

  • #7
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    I’ll tell you right away: That is a bad approach to build websites. These messages you see frequently are actually “alternative content” a feature which has been developed to display some content that still makes it possible to get the subject of the site even if Flash isn’t supported. A message like “flash is required” isn’t helping anyone, it’s rather imposing your requirements on the visitors which is bad behavior in a free medium like the internet. And don’t assume that everybody has the possibility to install Flash at all.

    Sooooo, please make yourself familiar with progressive enhancement (and its older conceptional counterpart “graceful degradation”) and please do adapt to SWFObject. If you have a music player that relies on Flash then it’s OK to not have a music player if people don’t have Flash, as long as they still get the message of your site. The music player isn’t an essential part for the understanding of the site so just don’t display alternative content (or even worse, a “required” message) at all, just let it degrade gracefully (i. e. have a website without player).
    The site actually relies on the flash player. I am working on adding an alternative way to listening to the music without flash. Following your advice I created a replacement image for the flash instead.

    like so: noflash


  •  

    Posting Permissions

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