Created
January 12, 2012 07:21
-
-
Save pipwerks/1599220 to your computer and use it in GitHub Desktop.
Captivate SCORM 2004 Output, converted to HTML5 doctype
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
<!-- Copyright [2008] Adobe Systems Incorporated. All rights reserved --> | |
<!-- saved from url=(0013)about:internet --> | |
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
<script src="standard.js" type="text/javascript"></script> | |
<script src="SCORM_support/scorm_support.js"></script> | |
<script type="text/javascript" language="JavaScript" src="captivate.js"></script> | |
</head> | |
<body bgcolor="#f5f4f1" onunload="Finish();"> | |
<center> | |
<div id="CaptivateContent"> | |
</div> | |
<layer id="NS_dynamic" name="NS_dynamic"> | |
<script type="text/javascript"> | |
var tempso = new SWFObject("SCORM_support/scorm_support.swf", "scorm_support", "2", "2", "10", "#CCCCCC"); | |
tempso .addParam("quality", "high"); | |
tempso .addParam("id", "scorm_support"); | |
tempso .addParam("bgcolor","#FFFFFF"); | |
tempso .addParam("menu", "false"); | |
tempso .addParam("movie", "SCORM_support/scorm_support.swf"); | |
tempso .setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"); | |
</script> | |
<noscript> | |
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" | |
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" | |
width="2" height="2" id="scorm_support" align=""> | |
<param name=movie value="SCORM_support/scorm_support.swf"> <param name=quality value=high> <param name=menu value=false> <param name=bgcolor value=#FFFFFF> | |
<embed src="SCORM_support/scorm_support.swf" quality=high bgcolor=#FFFFFF width="2" height="2" name="scorm_support" align="" | |
type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> | |
</embed> | |
</object> | |
</noscript> | |
</layer> | |
<script type="text/javascript" language="JavaScript"> | |
var timeCurrent_int = new Date().getTime(); | |
var timeLimit_int = new Date().getTime() + (intIntervalSecs * 1000); | |
// This simply loops for a set period of time, waiting for the API to | |
// load and/or be found. A better solution would be to use setInterval | |
// and on the timeout, redirect or load the resulting Captivate file. | |
while((g_objAPI == null) && timeCurrent_int < timeLimit_int) | |
{ | |
g_objAPI = getAPI(g_intAPIOrder); | |
timeCurrent_int = new Date().getTime(); | |
} | |
if(g_objAPI != null) | |
{ | |
strURLParams = "?SCORM_API=" + g_zAPIVersion + "&SCORM_TYPE=" + g_intAPIType; | |
} | |
document.write('<center>'); | |
document.write('<table border="0" cellpadding="7" cellspacing="7"> \n'); | |
document.write(' <tr> \n'); | |
document.write(' <td align="middle">'); | |
var so = new SWFObject(strURLFile + strURLParams, "Captivate", "641", "512", "10", "#CCCCCC"); | |
so.addParam("quality", "high"); | |
so.addParam("name", "Captivate"); | |
so.addParam("id", "Captivate"); | |
so.addParam("wmode", "window"); | |
so.addParam("bgcolor","#f5f4f1"); | |
so.addParam("menu", "false"); | |
so.addVariable("variable1", "value1"); | |
so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"); | |
so.write("CaptivateContent"); | |
document.write('</td> \n'); | |
document.write(' </tr> \n'); | |
document.write('</table> \n'); | |
document.write('</center>'); | |
</script> | |
<script type="text/javascript"> | |
document.getElementById('Captivate').focus(); | |
document.Captivate.focus(); | |
</script> | |
</center> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment