C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » HTML »

Flash movi not run in firefox but run in ie.


Posted Date: 09 Oct 2009      Posted By: Amin Anwar      Member Level: Silver     Points: 1   Responses: 13



i have add a flash slide show in my web site this execute in IE but not in Firefox.
many web site have slide show and they open in both FF and in IE.

Can you tel me what is exact problem of not showing in FF.

Thanks





Responses

Author: ChandraShekar Thota    10 Oct 2009Member Level: DiamondRating: 3 out of 53 out of 53 out of 5     Points: 3

Amin,

1. See firefox looks into each and every syntax issue, but ie doesnt do that.
2. change your file source as object data="flash\header.swf" to object data="flash/header.swf"

3.Also check for every tag syntax, so that there wont be any compatibility issue.

This should work.

Please update me if you need any help.

chandrashekarthota@gmail.com /92 93 95 95 39
FREE SESSIONS ON .NET AND VISUALSTUDIO



Author: Amin Anwar    10 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="428" height="234">
<param name="movie" value="images/header.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<embed src="images.header.swf" quality="high" wmode=transparent pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="234"></embed>
</object>



Author: Amin Anwar    10 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Thanks ChandraShekar Thota
but i post the code please see the code and tel me wheres need to change the code.


Thanks



Author: Deepak Yadav    11 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Hi, Amin
The code should be like this as below:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="640" height="480">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Yourflashname.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="Yourflashname.swf" quality="high" bgcolor="#ffffff" width="640" height="480" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>


Just replace Yourflashname with your file flash name
I have also uploaded a small html file with a small flash swf file , you can see it is running in any of the browsers,
Even if you find any problem then please tell me ?

Cheers
Deepak Yadav



flash in html.rar
Author: Amin Anwar    11 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

sory Deepak Yadav i could not understand what actually want to say as
"Yourflashname with your file flash name " because i m using the name of file simple like photo.swf.what wrong with this.


simply my file is exist in image folder and i give the path and name
<embed src="images.banner.swf" quality="high" wmode=transparent.

is there any mistake in this code?



Author: Gaurav Arora    12 Oct 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 4

I do agree with Chandu, first of all you need to check in your code syntax. Please go for following code as reference and do necessary changes in your code:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="name" width="468" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0" height="60">
<param value="http://www.msdotnetheaven.com/shubhhostingDiwali.swf" name="movie"/>
<param value="high" name="quality"/>
<param value="transparent" name="wmode"/>
<embed
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?
P1_Prod_Version=ShockwaveFlash" quality="high" type="application/x-shockwave-flash" height="60" src="http://www.msdotnetheaven.com/shubhhostingDiwali.swf" width="468" wmode="transparent" name="name">
</embed>
</object>




Thanks & regards,
Gaurav Arora - Sr. Editor
Me in My Own Style



Author: Deepak Yadav    12 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Hi, Amin
I think you have'nt seen the attachment I have sent with the post, ok
Yourfilename means photo.swf i.e. the file name of flash file(with .swf extension)
And if your file name is photo.swf why u are giving images.banner.swf, it will not work in IE also,
and by the way writing just this line:
<embed src="images.banner.swf" quality="high" wmode=transparent.
will not do for all web users, there are many users who don'nt have flash plugin installed , if you give the code like i have mentioned in my earlier post , then you could see that it will automatically ask to user to install plugin from the macromedia site ,which will not be possible in your one line code,
Ask me any question if then also it's not clear,
Cheers
Deepak Yadav



Author: Amin Anwar    12 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

ohh Thanks Deepak,for your quick and detail reply.

Actually i know every user not install flash plugin that s y i m searching such method by which a flash movi run like in IE.



Author: Venkatesh Ellur    26 Oct 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Well Amin did you check for the version of the Fire Fox on your system.

THIS POSTING IS PROVIDED WITH NO WARRANTIES, BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT AS PER MY KNOWLEDGE, NOT TRIED IT.

Regards
--------------------------
Venkatesh Ellur
+919886417764
venkatesh.ellur@gmail.com



Author: Amin Anwar    26 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

yes i m using firefox 3.000


Author: soniya bhatia    28 Oct 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Please check ur firefox add-ons.


Author: abdul rahim    16 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Better u reinstall u r firefox.. actually prob may b in firefox not in flash k.. if its useful then rate me


Author: Amin Anwar    16 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

Yes,
but dear i already checked on different system but still the problem is same
where others many site which have flash file but its run on both FF and IE.

where is problem in my Code of file or in FF.



Post Reply
You must Sign In to post a response.
Next : Multiline textbox
Previous : What is the htmi
Return to Discussion Forum
Post New Message
Category: HTML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use