Hi

I am using below code to play flv files using scrubber.swf in the browser but its giving compatibility issue. While it is working fine on internet explorer, its not working on firefox.
Any help will be greatly appreciated. Its very urgent.
Thanks

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
      codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
      width="336" 
      height="297" 
      bgcolor="#FFFFFF">
      
      <param name="movie"
        value="scrubber.swf?file=http://localhost:1852/Projvideo_flvCodeProj/videoUploads/flvUploads/demo.flv&bufferTime=3&autoStart=false"/>
      <param name="quality" 
        value="high" />

      <embed src="scrubber.swf?file=file=http://localhost:1852/Projvideo_flvCodeProj/videoUploads/flvUploads/demo.flv&bufferTime=3&autoStart=false"
       quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
        type="application/x-shockwave-flash" width="336" height="297" style="background-color:#FFFFFF" />
        
    </object>

Dani AI

Generated

Short answer: the behavior you see is usually either a browser/plugin block or an embedding error. As pointed out, Firefox may block plugin/mixed content and show an “Allow blocked content”/click‑to‑play prompt; allowing it will let the SWF run temporarily. Also check the embedding markup for typos — the scrubber.swf?file=file=... in the embed looks like a duplicated file= and will break the passed parameter. Mentioning both because one is a browser permission and the other is an HTML/flashvar issue.

If you must keep the Flash player (legacy fix): stop stuffing the video URL into the SWF src string for cross‑browser reliability. Pass the movie URL with flashvars (or use a small JS embed helper) and make sure & is escaped as &amp; in HTML. Using SWFObject avoids many IE/Firefox differences and handles flashvars reliably; a minimal example using SWFObject would set a flashvars object and call swfobject.embedSWF(...). (github.com)

Do not rely on Flash long term — Adobe ended Flash Player support on December 31, 2020 and modern browsers block or remove Flash entirely. The right, future‑proof approach is to migrate FLV/Flash content to HTML5 video (H.264/AAC or WebM) and use the standard <video> element for playback. (adobe.com)

Converting FLV to an MP4 usable by <video> is straightforward with FFmpeg. For example:

ffmpeg -i input.flv -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 128k -movflags +faststart output.mp4

Use -c copy when codecs are already MP4‑compatible to avoid re‑encoding. (ffmpeg.org)

Quick checklist: enable Flash/plugin in Firefox only for testing; fix the duplicated file= and use flashvars or SWFObject for cross‑browser embedding; and plan a migration path to HTML5/MP4 (FFmpeg) as the long‑term solution.

hello,

when u play this flash file on firefox one message window will be displayed at the top of the page just right-click on the window and select allow blocked content. file will be play FF browser.

here I have sent u one sample code for this,

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="774" height="200">
<param name="movie" value="giri.swf">
<param name="quality" value="high">
<embed src="giri.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="774" height="200">
</object>

Outsourcing software development company

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.