<div dir="ltr">I'm working on a digital signage project in Qt, and am running into an issue trying to play Flash files through a QWebView on Linux (the method I'm using works fine when I build the project on Windows).<div>
<br></div><div style>I'm loading the Flash file with an HTML wrapper that looks like this:</div><div style><br></div><font face="courier new, monospace"><html><br> <body style="margin:0;cursor:url(emptycursor.cur)" bgcolor="#000000"><br>
<object data="FILE_PATH" type="application/x-shockwave-flash" width="100%" height="100%"><br> <param name="movie" value="FILE_PATH"><br> <param name="quality" value="high"><br>
<param name="bgcolor" value="#000000"><br> <param name="FlashVars" value="FLASH_VARS"><br> <param name="wmode" value="W_MODE"><br>
<param name="scale" value="FLASH_SCALE"><br> <embed src="FILE_PATH" quality="high" bgcolor="#000000" width="FLASH_WIDTH" height="FLASH_HEIGHT" wmode="opaque" name="FILE_PATH" align="" type="application/x-shockwave-flash" pluginspage="<a href="http://www.adobe.com/go/getflashplayer">http://www.adobe.com/go/getflashplayer</a>"></embed><br>
</object><br> </body><br></html></font><div><br></div><div>(wmode is being set to opaque on Linux, direct on Windows).</div><div><br></div><div>Anyways, when a file plays on Linux, we get a lot of black boxes drawn over top of the animation wherever it was redrawing or there was an item moving. Using wmode direct just renders black and I don't get anything at all.</div>
<div><br></div><div>We found a somewhat working workaround, by calling repaint on the widget every few milliseconds, which mostly makes the black boxes go away, but causes very high CPU usage.</div><div><br></div><div>Could someone point me in the right direction on this? Is Flash on Linux supposed to work, and if not, is it being worked on for a future release?<br clear="all">
<div><br></div>-- <br>Zach Tibbitts
</div></div>