Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Flv work in IE not loading in Firefox

45 replies [Last post]
Reply

I cannot get my flv files to load in Firefox, they work perfect in IE, using Mediaplayer V3.14. The player loads fine but the loading icon just spins (hangs) and never loads the image or the video - I'm using the latest Firefox, mediaplayer and flash 9.0. I've been researching the problem for the past 8 hours with no luck. Here is the code:

<?php
echo "<object width='220' height='165'
classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
codebase='http://fpdownload.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=8,0,0,0'>
<param name='movie' value='http://www.fishnclipsmagazine.com/videos/mediaplayer.swf' />
<param name='menu' value='false' />
<param name='quality' value='medium' />
<param name='bgcolor' value='#000000' />
<param name='allowscriptaccess' value='always' />
<param name='flashvars' value='file=http://www.fishnclipsmagazine.com/upload/videos/".$row['video']."&autostart=false&image=http://www.fishnclipsmagazine.com/upload/images/thumb/".$row['thumb']."&frontcolor=0xcccccc&backcolor=0x000000&lightcolor=0x996600&logo=http://www.fishnclipsmagazine.com/upload/watermark.png' />
<embed src='http://www.fishnclipsmagazine.com/videos/mediaplayer.swf' width='220' height='165'
menu='false' quality='medium' bgcolor='#000000' allowscriptaccess='always' flashvars='file=http://www.fishnclipsmagazine.com/upload/videos/".$row['video']."&autostart=false&image=http://www.fishnclipsmagazine.com/upload/images/thumb/".$row['thumb']."&frontcolor=0xcccccc&backcolor=0x000000&lightcolor=0x996600&logo=http://www.fishnclipsmagazine.com/upload/watermark.png'
type='application/x-shockwave-flash' pluginspage=
'http://www.macromedia.com/go/getflashplayer' />
</object>";
?>

Any help would be greatly appreciated.

regards
Oliver

Reply

Do other FLV files play in your FireFox browser; such as videos from YouTube?

Perhaps there is a problem with the Flash player in FireFox. Try uninstalling it (use the Adobe uninstaller) and then installing the latest Flash player from Adobe's site.

Reply

Yes, Youtube play fine in FireFox. The sample test from this site plays fine on this site but will not play on my site. I've just installed a new flash 9.0, no change.

Thanks for your help.
Oliver

Reply

When I drop this URI:[url=http://www.fishnclipsmagazine.com/upload/videos/5video.flv]5video.flv[/url] into my browser, I get an error page starting with: Directory has no index file.

Some mis-configuration of your server?

Reply

No sure I understand. All of the uploaded videos are called from this directory and work fine on IE with the player but not on FF. All produce the same Directory has no index file when called outside of the player.

Reply

The site is all php files and doesn't use html files and is therefore giving the message. I'm told it's unrelated to the display problem as the site runs fine in all other regards.

Reply

use th IE tap, add website, simple :)))

Reply

I am also having the same issue with Firefox. It seems like a Apache configuration issue. I have searched quite a lot and still unable to find an answer.

Reply

mattitch, what are your refering to? Some way to the flv to work in FF? Thanks.

Reply

Have you tried putting a "dummy" index.html into your directory? It doesn't have to say anything, it just has to be there. Just a thought.

You could

<html>
<body>
This is my directory
</body>
<html>

if you want to see something.

Reply

Tony, yes I tried the index.html but it still will not play the videos in FireFox. I've also tried diabling the gzip and no change.

Reply

Found the problem. Hot link protection was enabled on the server and even though the site was listed as an exceptable site, FF ignored it and IE played it. Disabled hot link protection and everything works fine in both.

Reply

@ Oliver:

Thanks for posting the solution. I'll file it away under "stuff that will go wrong if it can."

Reply

Disabled HOT LINK is one of the solution to make the swf file works for FF.

Cool... ^_^

Reply

yeah but disabling hotlinks just to play videos at ff may become a bigger problem...

Reply

I would like to keep the hotlink protection enabled. I don't like the idea of have my flies less protected just to make the flv available trough FF. Is there any other solution?

Reply

I'd advise against leaving your flies less protected :P

Reply

can anyone give me the code for how to make flv work with firefox.
Thanks!

Reply

I had exactly the same problem you were having with Zoomify (a Flash application) and Firefox. My page would work fine in my computer under Apache, it would work fine in Microsoft Explorer and in Opera, but it would not work in Firefox. It would open the Flash window but it would not find the files to display.

In my search for a solution I found this post.

Finally, I found out that the problem was related with the Hotlink Protection implemented by some hosts through the .htaccess file (in the main folder) and the fact that Flash does not send the referrer and Firefox does not add it to the request.

After some research I found this workaround adding a blank referrer (2nd line) and adding "L" to RewriteRule to the lines in the .htaccess file:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yoursite.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L]

This solved my problem for the time being.

Hope it helps you too,
Celia

You can find more information here:

https://bugzilla.mozilla.org/show_bug.cgi?id=452864

https://bugzilla.mozilla.org/show_bug.cgi?id=410904

http://www.htaccesstools.com/hotlink-protection/

Reply

:( not working with other files type(mp3, flv)
Andreas

Reply

Youtube videos arent working for me in IE and Avant.

Can someone be kind enough to help ?

And iv no idea about codings.

Reply

its very useful to me... thank u Oliver...
Take care....

Reply

I've tried your solution, however my problems still not be resolved.
Could you please to visit http://www.silktv.net (run in firefox) and let me know the reason: why I can not play .flv file on this site ???
Thanks so much

Reply

I tried Celia's response which helped with the FF issues regarding FLV, but now IE doesn't display any images at all...by images i mean the images that are used for links and banners etc...weird...any advice?

Reply

Just to clarify on my above - i simply removed the "gif" from the last line of code, and images are back up again in IE and flv works in FF...for now :/

Reply

i hve fallen in love with the peron who is the biggest enemy of our family

Reply

Fast video indexer is a video capture software that can capture video frames automatically from a list of videos and create index web pages, index pictures or a list of images.
http://www.californiawomen.org/ForumMemberProfile/show/22314

Reply

in my case just when adding mime type for flv everything is fine then

video/x-flv flv

Reply

Hello everyone.I have trouble controlling the hotlink, I have a swf in a domain that presents images from another domain works in ie but not mozilla

To see if this validated as configured in (linkdeny and helicon ape) put an image and mp3 on the page and it works ok in both IE and Mozilla, the problem is when it occurs in the swf

greetings from Ecuador

Reply

Hi Riback,

Do you have a link to where this is running. Seeing your implementation is helpful in debugging the problem.

Thanks.

Reply

Just started using Just Host.com.

Flash flv files work fine in Firefox when files are on my machine prior to uploading. Once the files are on the Just Host server, Firefox does not render the flv files. Internet Explorer has no issues.

Tech support doesn't know why nor do they care. This just started after switching servers. MIME type has been added. Using Flash CS3, AS2 for development with it's updated patches. Firefox does see you tube flv videos but not mine.

Any ideas?

Reply

Same problem here.
This woks on all brousers:

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='100%' height='100%' id='player1' name='player1'>
<param name='movie' value='carrousel3d.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='flashvars' value='file=data.xml'>
<embed src='carrousel3d.swf'
width='100%'
height='100%'
allowscriptaccess='always'
allowfullscreen='true'
flashvars="file=data.xml"
/>
</object>

THis works only with IE 7&8 but not with FF

<script type="text/javascript">
   var flashvars = {
      'file':               'data.xml',
      'autostart':          'true' 
   };

   var params = {
      'allowfullscreen':    'true',
      'allowscriptaccess':  'always',
      'bgcolor':            '#ffffff',
  'flashvars' : 'file=data.xml'
   };

   var attributes = {
      'id':                 'player1',
      'name':               'player1'
   };

   swfobject.embedSWF('carrousel3d.swf', 'flashContent', '100%', '100%', '9', 'false', flashvars, params, attributes);

Like all related with Adobe , working with SWF is a pain in the ass !

Reply

Can you both provide links to where you are running this? Thanks.

Reply

i m using a swf file into my website but it is working sometime with ie,chrome,firefoxe but sometimes not with ie and firefox and my website is going to hanged sometimes so what i have to do because i m using joomla so i have also attached a flash module to show my swf file but it is not working fine.

Reply

Please provide a link, thanks. Also please note that the player does not play swf files.

Reply

@Celia, you didn't resolve the problem, you can still have access by firefox to your files.

The problem is about Firefox not sending HTTP_REFER, right now I'm trying to find a solution.

Reply

@Armon - Where are you having the issues?

Reply

I have issue with IE.

flv videos sometimes works, but often I hear only the audio and I see only a black screen.... usually a refresh page will fix it, but is really weird.

I've test it in Chrome, Safari and Firefox and works fine.

I load the player using this code:

<div width="270px" id="mainVideo" height="400"></div>

<script type="text/javascript">

   jwplayer("layoutVideo").setup({
file: "{{ layout_video_url }}",
    height: 400,
    backcolor : "FFFFFF",
    autostart: true,
    controlbar: "none",
    skin:'{{ static_url }}skins/beelden/beelden.xml',
    players: [
    { type: "flash", src: "{{ static_url }}scripts/player.swf" },
       { type: "html5" }
      ]
   });
</script>

Reply

Provide a link please.

Reply

Who in the whole world has a solution to Firefox problem....I'm dying.

Reply

Provide a link please.

Reply

change percents value on px value in width and height in object tag

Reply

@Ethan

Here are some links where I'm experiencing the same trouble. WOrks in IE, but not Firefox

http://oldsite.coconino.edu/media/edu/Justin/Justin-BoysCode.html

http://oldsite.coconino.edu/media/edu/Justin/Justin-DisabilitiesVideo.html

http://oldsite.coconino.edu/media/edu/Justin/Justin-Softly.html

What am I doing wrong?
Thanks,
Justin

Reply

Change:

<embedtype='application/x-shockwave-flash'

To:

<embed type='application/x-shockwave-flash'

Reply

Thanks. Unforunately it didn't work. I was able to get IT to agree to use Javascript option, and that works on several PC and Mac browsers.

Thanks for your prompt reply too! Appreciate it!

Reply

Np !

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options