Megha Singhal

Megha Singhal

  • NA
  • 8
  • 3.3k

SWF file not playing in Firefox

Feb 6 2012 6:28 AM

Hi All,

I have a web application created in MVC2 with C#. we have a requirement to save files in database and later display them as links. when user clicks on the link we open a new window and display the file based on extension type of the file. Separate code blocks are there for wmv, swf etc.

But swf file is not playing in Firefox :(

Can anyone help.

Below is the code I am using

<




div class="swfContainer"> <object id="FlashControl5" width="300" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"> <
<param name="quality" value="High">
<param name="play" value="True"> param name="loop" value="False"> param name="menu" value="False"> param name="scale" value="Showall"> embed name="FlashControl5" src="<%= ViewData["src"] %>" quality="High" play="True" menu="False" scale="Showall" loop="False" type="application/x-shockwave-flash" width="100%" height="100%" pluginspage="http://www.macromedia.com/go/getflashplayer"> embed></object> </div>

<
<
<
<
</
ViewData["src"]  contains file path.
Appreciate any help.
param name="movie" value="<%= ViewData["src"] %>" />