npapi-wrapper.application.x-shockwave-flash.swf.htm 1008 Bytes
Newer Older
Claudio Valerio's avatar
Claudio Valerio committed
1 2 3 4 5 6 7 8 9
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>Flash Widget</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <style type="text/css">
            html, body, #content    { height:100%; }
            body                    { margin:0; padding:0; overflow:hidden; }
        </style>
Ivan Ilin's avatar
Ivan Ilin committed
10 11 12 13 14 15 16 17 18
		<script type="text/javascript">
		window.onload = function(){
			if (window.widget) {
				window.widget.onremove = function(){
					document.getElementById("content").innerHTML = "";
				}
			}
		}
		</script>
Claudio Valerio's avatar
Claudio Valerio committed
19 20 21 22 23 24
    </head>
    <body>
        <div id="content">
            <object type="application/x-shockwave-flash" data="{in.url}" width="100%" height="100%">
                <param name="movie" value="{in.url}">
                <param name="quality" value="high">
25
                <param name="wmode" value="window">
Claudio Valerio's avatar
Claudio Valerio committed
26 27 28 29
            </object>
        </div>
    </body>
</html>