Welcome to Dream.In.Code
Become an Expert!

Join 149,584 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,767 people online right now. Registration is fast and FREE... Join Now!




.flv working in IE, not Firefox

 
Reply to this topicStart new topic

.flv working in IE, not Firefox

blbeta
17 Oct, 2007 - 05:00 PM
Post #1

New D.I.C Head
*

Joined: 17 Oct, 2007
Posts: 5


My Contributions
Ok I am trying to figure out what is wrong with this code. If works fine in IE 6.0 and Safari 3.0.3, but not in Firefox 2.0.0.7. In IE it plays fine, works as expected. In Firefox, the spot for the video is there but nothing shows up.

CODE
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="256" height="192" id="FLVPlayer">
  <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="salign" value="lt" />
  <param name="quality" value="high" />
  <param name="scale" value="noscale" />
  <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=Movies/riley&autoPlay=false&autoRewind=false" />
  <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_3&streamName=Movies/riley&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="256" height="192" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>


I have more code for the page, but this seems to be the only portion that matters. I use it on a blank page and get same results. Any ideas?

I will use info from this post http://www.dreamincode.net/forums/showtopic34902.htm for a work around, but would really like to figure out what is wrong with this code for Firefox.


EDIT:
CODE
<object type="application/x-shockwave-flash" width="400" height="350"

wmode="transparent" data="flvplayer.swf?file=riley.flv&autoStart=true">
  <param name="movie" value="flvplayer.swf?file=riley.flv&autoStart=true" />
  <param name="wmode" value="transparent" />
</object>


Ok I used the code and .swf file from the other post listed above and no go. In Safari and IE, works fine. Firefox with his player it just displays "Buffering..." can not get video playing. I am obviously missing some code to make it work in Firefox, or I have a setting wrong in Firefox. I don't have any problems viewing videos on Youtube or any other video sites in Firefox. This is what makes me think I have something wrong.

This post has been edited by blbeta: 17 Oct, 2007 - 05:26 PM
User is offlineProfile CardPM
+Quote Post

blbeta
RE: .flv Working In IE, Not Firefox
17 Oct, 2007 - 05:58 PM
Post #2

New D.I.C Head
*

Joined: 17 Oct, 2007
Posts: 5


My Contributions
Sorry, new question. Turns out it works fine in all three once uploaded to my web server. Why would it work on IE and Safari, but not Firefox local? I know this is no longer a code problem, so I don't really expect a solution.

Would be nice to have it function properly in Firefox local.

Thanks ahead of time for any solutions. I imagine it must have to do with one of my local settings in Firefox.

This post has been edited by blbeta: 17 Oct, 2007 - 05:59 PM
User is offlineProfile CardPM
+Quote Post

Arbitrator
RE: .flv Working In IE, Not Firefox
18 Oct, 2007 - 04:15 AM
Post #3

D.I.C Regular
Group Icon

Joined: 26 Jan, 2005
Posts: 492



Thanked: 1 times
My Contributions
QUOTE(blbeta @ 17 Oct, 2007 - 08:58 PM) *
Sorry, new question. Turns out it works fine in all three once uploaded to my web server. Why would it work on IE and Safari, but not Firefox local? I know this is no longer a code problem, so I don't really expect a solution.

Would be nice to have it function properly in Firefox local.
You might see if the proper code makes a difference.

CODE
<object id="FLVPlayer" type="application/x-shockwave-flash" data="flvplayer.swf?file=riley.flv&amp;autoStart=true" style="width: 256px; height: 192px">
    <param name="movie" value="flvplayer.swf?file=riley.flv&amp;autoStart=true"><!-- This parameter is only used by Internet Explorer. -->
    <param name="salign" value="lt">
    <param name="quality" value="high">
    <param name="scale" value="noscale">
    <param name="flashvars" value="&amp;MM_ComponentVersion=1&amp;skinName=Corona_Skin_3&amp;streamName=Movies/riley&amp;autoPlay=false&amp;autoRewind=false">
    <param name="pluginurl" value="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">
</object>


Note that I’m not sure about support for pluginurl. I only learned about it recently.
User is offlineProfile CardPM
+Quote Post

blbeta
RE: .flv Working In IE, Not Firefox
19 Oct, 2007 - 11:04 AM
Post #4

New D.I.C Head
*

Joined: 17 Oct, 2007
Posts: 5


My Contributions
QUOTE(Arbitrator @ 18 Oct, 2007 - 05:15 AM) *

You might see if the proper code makes a difference.

CODE
<object id="FLVPlayer" type="application/x-shockwave-flash" data="flvplayer.swf?file=riley.flv&amp;autoStart=true" style="width: 256px; height: 192px">
    <param name="movie" value="flvplayer.swf?file=riley.flv&amp;autoStart=true"><!-- This parameter is only used by Internet Explorer. -->
    <param name="salign" value="lt">
    <param name="quality" value="high">
    <param name="scale" value="noscale">
    <param name="flashvars" value="&amp;MM_ComponentVersion=1&amp;skinName=Corona_Skin_3&amp;streamName=Movies/riley&amp;autoPlay=false&amp;autoRewind=false">
    <param name="pluginurl" value="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">
</object>


Note that I’m not sure about support for pluginurl. I only learned about it recently.


Same result, good in Safari and IE... just keeps the buffering sign up in Firefox. I assume there is a setting that is stopping Firefox from producing the .flv stream local. Works fine once on a web server.

Thanks anyhow!

If I figure it out I will post it.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 10:53PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month