Embedded Flash not working in Google Chrome?

So, I have a flash site, and I am curious why it does not work in Chrome. The site is great for Safari, Firefox, and IE. It just won’t work in Chrome. Well, here is the code below and any help is needed. Also can you explain why this is not working?

 <div id="flashContent">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="470" id="mariocoded" align="middle">
                <param name="movie" value="mariocoded.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#ffffff" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="window" />

                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="mariocoded.swf" width="750" height="470">
                    <param name="movie" value="mariocoded.swf" />
                    <param name="quality" value="high" />

                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />

                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
+1
source share
6 answers

You have two nested tags <object>instead of <object>and <embed>. Chrome, Safari and FF use it<embed> , so it’s really amazing that the player works in FF and Safari in general.

+3
source

replace all this code with just this single line of code and it should work in all browsers ...

<embed src="mariocoded.swf" width="750" height="470" />
+3

... param name= "movie" , (, , IE, IE). , , , , , .

: google chrome ( ), html flashContent div . , , .

, .

+1

Kevin, you got it. If you test the flash element using the Chrome element inspector, edit it as html and delete the name = movie, it will display conditional comments to work wonders

0
source

You can try this since I also use Flash in Chrome, but for this I used Both as here.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1000" height="250" id="FlashVars_AS2" align="middle">

                <param name="movie" value="MuShagPlayer.swf" />
                <param name="quality" value="low" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="window" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="always" />
                <param name=FlashVars value="surl=http://www.mp3hungama.com/music/audio/Indian/Indian%20Movies/3G%20(2013)/songs/Kaise%20Bataaoon%20@%20Mp3HunGama.Com.mp3&waveform=${waveform}&tle=${songTitle}&sId=${songId}" />
            <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="MuShagPlayer.swf" width="1000" height="250">
                <param name="movie" value="MuShagPlayer.swf" />
                <param name="quality" value="low" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="window" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="always" />
                <param name=FlashVars value="surl=http://www.mp3hungama.com/music/audio/Indian/Indian%20Movies/3G%20(2013)/songs/Kaise%20Bataaoon%20@%20Mp3HunGama.Com.mp3&waveform=${waveform}&tle=${songTitle}&sId=${songId}" />
                <a href="http://www.adobe.com/go/getflash">
                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                </a>

            </object>

        </object>
0
source

Can you edit from:

<param name="play" value="true" />

steel:

<param name="autoplay" value="true" />

I tried it and then successfully.

0
source

All Articles