html - Flash doesn't scale in Chrome -


here code html + js. page embeded swj movie. settings scaling set show_all. done zooming - when users zoom page in or out flash movie changes size zoom page. works ff, chrome doesn't work. starts working when manually set setting show (right click on flash movie , set setting).

any ideas how can fix this? thank lot!

html:

<!doctype html> <html> <head>     <meta http-equiv="content-type" content="text/html; charset=utf-8">     <title>webcam recording demonstration</title>        <link rel="stylesheet" href="css/flash.css" type="text/css" media="screen, projection">     <script type="text/javascript" src="jquery.js"></script>     <script type="text/javascript" src="swfobject.js"></script>     <script type="text/javascript" src="embedflash.js"></script>     <script type="text/javascript" src="flashinterface.js"></script> </head> <body>        <div id="page-wrap">         <div id="header">             demonstration of videorecording         </div>         <div id="content-wrap">         <div id="flash-container">             <div id="flashobject">                       </div>         </div>         <div style="display: block; clear: both;"></div>         </div>     <div id="record" class="button">         record     </div>     <div id="play" class="button">         play     </div>         <div id="footer" >         designed , implemeted petr kaplunovich. mathjax package used         </div>     <div style="display: block; clear: both;"></div>     </div>   </body> </html> 

js:

function embedguy(){     var swfversionstr = "0";     var xiswfurlstr = "";     var flashvars = {};     var params = {};     params.quality = "best";     params.bgcolor = "#f1f1f1";     params.play="true";     params.loop="true";     params.wmode="window";     params.scale="showall";     params.menu="true";     params.salign="";     params.devicefont="false";     params.allowscriptaccess = "always";//"samedomain";     params.allowfullscreen="true";     params.movie="webcam.swf";     var attributes = {};     attributes.id = "webcam";     attributes.name = "webcam";     attributes.align = "middle";     swfobject.embedswf(     "webcam.swf", "flashobject",     "100%", "100%",     swfversionstr, xiswfurlstr,     flashvars, params, attributes); } embedguy(); 

p.s. have tried control settings directly flash - unfortunately nothing works.

your flash-container div blocking embedded flash expanding.

if change flash-container width , height 100% expands zoom page in chrome.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -