nageeb2016 / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

IE 8 fullscreen don't work.... #473

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://dev.gelin-lafon.com/

only in IE8 the swf don't use fullscreen...

any idea ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<!-- current doctype to have fullscreen flash --> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <script type="text/javascript" src="#CHEMIN{js/swfobject.js}"></script>
    <script type="text/javascript" src="#CHEMIN
{js/swfaddress.js}"></script>
    <!--  BEGIN Browser History required section -->
    <link rel="stylesheet" type="text/css" href="#CHEMIN
{history/history.css}" />
    <!--  END Browser History required section -->

    <meta http-equiv="Content-Type" content="text/html; charset=utf-
8" />
    <title></title>
    <script language="javascript">
    function closeWindow(){
    self.close();
    }
 
    function checkBrowser() { var value = navigator.userAgent; return 
value; }
           
    </script>
    <!--  BEGIN Browser History required section -->
    <script src="history/history.js" language="javascript"></script>
    <!--  END Browser History required section -->
    <style>

    body { 
        margin: 0px; 
        background-color:#DDDDDD;
        text-align:center; 
    }

    #application { 
        margin-left:auto;
        margin-right:auto; 
        margin-top:0px;
     }

    </style>
    <script language="JavaScript" type="text/javascript" defer="defer">

    var params =
    {
        quality           :     "high"
       ,allowScriptAccess :     "always" 
    } ;

    var attributes =
    {
        align : "middle"
    } ;

    var flashvars  =
    {

    } ;

    swfobject.embedSWF("#CHEMIN
{Main.swf}", "application", "100%", "100%", "10.0.0", false, flashvars, 
params, attributes );
    </script>
  </head>
  <body scroll="no">
    <div id="application">
        <a href="http://www.adobe.com/go/getflashplayer">
            <img 
src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g
if" alt="Get Adobe Flash player" />
        </a>
        <div id="content" style="display:none">
            <h1></h1>
        </div>
    </div>
    <!-- add Google Analytics code here -->
  </body>
</html>

Original issue reported on code.google.com by chusse...@gmail.com on 1 Jun 2010 at 9:07

GoogleCodeExporter commented 9 years ago
This is not a bug. You need to set the allowfullscreen param.

please post authoring questions to the swfobject list.

Original comment by aran.rhee@gmail.com on 6 Jun 2010 at 2:15