Created
June 4, 2010 09:56
-
-
Save dermidgen/425240 to your computer and use it in GitHub Desktop.
html/js for flash/swfobject embeds in DNN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="/common/js/swfobject.js"> | |
<script type="text/javascript"> | |
swfobject.registerObject("flash", "9.0.0", "expressInstall.swf"); | |
</script> | |
<!-- EXTRA MARKUP --> | |
<table border="0" cellspacing="0" cellpadding="0" width="940" align="center" height="400"> | |
<tbody> | |
<tr> | |
<td> | |
<!-- REQUIRED FLASH CONTAINER --> | |
<div id="flashContainer"> | |
<div id="innerFlash"> This page contains video that requires JavaScript and a recent version of Adobe's Flash Player. <a href="http://get.adobe.com/flashplayer/">Download the latest Adobe Flash Player</a> now to view this content. </div> | |
</div> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
<script type="text/javascript"> | |
swfobject.embedSWF( | |
"/common/flash/workflow.swf", /* path to swf */ | |
"innerFlash", /* id of element to replace */ | |
"940", /* width */ | |
"400", /* height */ | |
"9.0.0", /* flash version */ | |
false, | |
{ /* flashvars */ | |
configFile: "/common/flash/config.xml" | |
}, | |
{ /* embed params */ | |
wmode: "transparent", | |
allowscriptaccess: "always", | |
scale: "exactFit", | |
loop: "false", | |
play: "false", | |
menu: "false" | |
}, | |
{} | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment