Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. swf file not getting displayed in chrome

swf file not getting displayed in chrome

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminhardwaretoolshelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raghvendrapanda
    wrote on last edited by
    #1

    Hy, I have shown a swf file inside the object tag which was embedded into an iframe through jaava script .The following code works in IE 8 but is not working in chrome.I have pasted my code below. <script type="text/javascript"> function populateIframe(FilePath) { // var FilePath='../images/suche.swf'; var ifrm = document.getElementById('ucCMSHTML_ifrmCMSHTML'); ifrm = (ifrm.contentWindow) ? ifrm.contentWindow : (ifrm.contentDocument.document) ? ifrm.contentDocument.document : ifrm.contentDocument; ifrm.document.open(); ifrm.document.write('<object height="300px" width="100%" style="border: 0 0 0 0 ; background-color: #FFFFFF;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ><param name="movie" value="'+FilePath+'\" ><param name= wmode value ="opaque"/> </object>'); ifrm.document.close(); contentEditable="true" ; } </script> <table width="100%"> <tr> <td> <%-- <asp:Literal ID="ltrcmsHTML" runat="server"></asp:Literal>--%> <div style='border: 1; width: 100%; height: 100%; overflow: auto; padding: 0px'> <iframe id='ifrmCMSHTML' runat='server' width='100%' height='300' scrolling='no' frameborder='0' style='border: 0 0 0 0; background-color: #FFFFFF;'></iframe> </div> </td> </tr> </table> Please Help.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups