在我的LMS中,我有以下代码用于显示SCORM播放器窗口:
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");
我现在需要调整它来播放TIN CAN课程,我需要一种方法将脚本标签和下面的javascript添加到window.open窗口
<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"
}
]
}
);