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 9 of 9
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No Flash on Firefox?

    Someone has just sent me a flash movie to my hotmail account so naturally it opened automatically in IE for me to watch.

    http://www3.ns.sympatico.ca/lyle_24/myhero.html

    Problem is I tried copying and pasting this URL into firefox later and it wouldn't display. I viewed the source code and it all seems to be in order. Do you think this is a bug with firefox or is it just bad code that I cant see?
    My body's a temple... and like those ancient Greek ones it's a ruin
    sweenster.co.uk

  • #2
    evo
    evo is offline
    waka Ionsurge
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    895
    Thanks
    5
    Thanked 12 Times in 12 Posts
    It's not a bug, just the wrong way to code. The file doesn't display in Opera either.



  • #3
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    yeah, it's been a while since i've used it, but i think the embed tag only works in IE now; i'm pretty sure Moz/FireFox and Opera dropped it, since it was never a part of the standard. the object tag is the alternative to embed, and is a part of the accepted standards. if you copy and paste the url of the flash file into firefox, it plays just fine.

    for the record, Gary's American (from Jersey, i think), and the song is Romanian. where they got "fat dutch kid" from, i have no idea.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

  • #4
    Regular Coder
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by joh6nn
    for the record, Gary's American (from Jersey, i think), and the song is Romanian. where they got "fat dutch kid" from, i have no idea.
    the guy is also the spitting image of someone I work with. Work was quite amusing today for some reason....
    My body's a temple... and like those ancient Greek ones it's a ruin
    sweenster.co.uk

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    no FF still can use the embed tag, but this would be the up to standards crossbrowser way of coding it
    Code:
    <object type="application/x-shockwave" data="myhero.swf" width="600" height="400">
                <param name="movie" value="myhero.swf">
                <param name="quality" value="high">
                </object>
    and the reason it didn't work in FF or any other browser that doesn't support the macromedia way of embedding flash using the object, was because the embed tag was trying to call a totally different flash file that doesn't exist
    Last edited by liorean; 03-04-2005 at 12:15 AM. Reason: date --> data

  • #6
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    For now, you can just view it directly:
    http://www3.ns.sympatico.ca/lyle_24/myhero.swf

    Works for me.

  • #7
    Regular Coder
    Join Date
    Feb 2008
    Location
    Australia baby!
    Posts
    143
    Thanks
    6
    Thanked 3 Times in 3 Posts

    Thumbs up Just found some kickass code!!

    Code:
    <object
            type="application/x-shockwave-flash"
            data="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf"
            width="300"
            height="120">
        <param
            name="movie"
            value="http://www.macromedia.com/shockwave/download/triggerpages/flash.swf" />
    </object>
    This code came from http://www.html4.com/mime/markup/php...ternates_3.php

    If you view their website (the above address) you can see this code in action at the very bottom of the page. Notice it will display in both Internet Explorer and FireFox! I cut and pasted the code to a blank document and opened it in both IE and FF, they both work fine and I've now implemented the code on my website. I recommend you do the same to save your poor brain.

    It passes validator.w3.org standards too! ENJOY!
    outseeker - http://outer.reaches.dyndns.org/index.php
    I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.

  • #8
    Regular Coder
    Join Date
    Feb 2008
    Location
    Australia baby!
    Posts
    143
    Thanks
    6
    Thanked 3 Times in 3 Posts
    A quick note on the above code, it seems if you use it to embed a flash object that is quite large in KB and has a "loading ..." screen, you will not see anything in the area you have embedded until the file is finished downloading. No problem for smaller flash apps, or ad's but this code actually was not suitable for me as my .swf files are several megs each

    Hope it came in useful for someone tho, it's a good piecea cross-browser compatible embed code. Not using the <embed> tag too I reckon is elite, wish I could work out the preload prob.. Don't suppose anyone knows of a param you can pass in the embed to enable preloader..? Then this code would be perfect
    outseeker - http://outer.reaches.dyndns.org/index.php
    I hope this helped someone. Due to this forums lame rep system penalising me for nothing, and admins inability to do anything about it, I'm sorry to say I will no longer be online here. Pride is important. Good Luck All.

  • #9
    Senior Coder
    Join Date
    Mar 2003
    Location
    Atlanta
    Posts
    1,037
    Thanks
    14
    Thanked 30 Times in 28 Posts
    Try using UFO or SWFObject.
    Most of my questions/posts are fairly straightforward and simple. I post long verbose messages in an attempt to be thorough.


  •  

    Posting Permissions

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