In my LMS I have the code below used to display a SCORM player window:
window.open("@Model.SCORMStartPage", "SCORM", "width=1140,height=760,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0");
I now need to adapt this to play a TIN CAN course and I need a way to add the script tag and the javascript below into the window.open window
<script type="text/javascript" src= "@Url.Content("~/Scripts/tincan.js")"></script>
var tincan = new TinCan
(
{
recordStores: [
{
endpoint: "https://cloud.scorm.com/tc/V4FF9VBCSY/",
username: "email",
password: "password"
}
]
}
);