Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
83 lines (60 sloc) 2.93 KB
<!DOCTYPE HTML>
<!-- saved from url=(0014)about:internet -->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@MOVIETITLE</title>
<script src="standard.js"></script>
<script src="SCORM_support/scorm_support.js"></script>
<script>
/* ====================================================
Begin advanced user configuration.
Edit the following items as needed for your project.
==================================================== */
//set document.domain property here, if it works for your environment/SCORM implementation
//document.domain="";
//If set to true, will require SCORM API to be found when opening course.
//Set to false for convenience when testing locally; recommend setting to true for production
CONFIG.requireSCORMAPI = false;
//If set to true, will log SCORM communication to browser console (if available)
CONFIG.logEvents = true;
//set to false if you don't want your SWF auto-centered.
CONFIG.centerSWF = true;
//What do you wish to tell the learner if the SCORM connection fails to start?
CONFIG.scormUnavailableMessage = "Sorry, but the course is not available at this time (SCORM API not found or malfunctioning). Please try again. If you continue to encounter problems, please contact the course administrator.";
//Need to run any of your own JavaScript? Place it inside this function.
//Important: this function is only invoked after the SWF has finished loading!
//For large SWFs, it could take a while.
customJavaScript = function (){
//Your custom scripts here.
//You can access the SWF directly by using the 'CaptivateSWF' variable, such as
//CaptivateSWF.Play();
logEvent("Custom JavaScript has executed.");
};
/* ===============================================================
Don't edit beyond this point unless you know what you're doing!
=============================================================== */
CONFIG.projectTitle = "@MOVIETITLE"; //currently unused by this publishing template
CONFIG.targetElementID = "Captivate";
CONFIG.minRequiredFPVersion = "@FlashPlayerVersion";
CONFIG.swflocation = "@MOVIENAME";
CONFIG.swfBgColor = "@SKINCOLOR";
CONFIG.swfWidth = "@MOVIEWIDTH";
CONFIG.swfHeight = "@MOVIEHEIGHT";
CONFIG.swfWindowMode = "@WMODEVALUE";
CONFIG.enableRightClick = '@IsRightClickFunctionalityRequired';
</script>
<style>
body { text-align: center; margin: 0; padding: 1em; height: 100%; background: @SKINCOLOR }
body.centered { margin: 0; padding: 0; overflow: hidden; }
body.centered #Captivate { position: absolute; top: 50%; left: 50%; } /* JavaScript is used to set pixel values for margin-left and margin-top */
</style>
</head>
<body>
<div id="Captivate">
<noscript>
This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course.
</noscript>
</div>
</body>
</html>
You can’t perform that action at this time.