scorm课件播放显示问题

This commit is contained in:
daihh
2023-02-24 18:57:22 +08:00
parent d98ad6e364
commit 306b18115c
4 changed files with 8 additions and 8 deletions

View File

@@ -227,7 +227,7 @@
<div v-if="fileInfo.resType == 30"><img style="width:100%;height:100%" :src="fileBaseUrl + fileInfo.filePath" alt="图片" /></div>
<div v-if="fileInfo.resType == 40"><pdfPreview :filePath="fileBaseUrl + fileInfo.previewFilePath"></pdfPreview></div>
<div v-if="fileInfo.resType == 50"> <!--scorm课件预览-->
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" border="0px" style="width:100%;height:600px;border:0px"></iframe>
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" border="0px" style="width:100%;height:530px;border:0px;"></iframe>
</div>
</div>
</div>

View File

@@ -86,7 +86,7 @@
<div style="padding: 20px;" v-html="contentData.content"></div>
</div>
<div v-if="resType == 50" style="min-height: 500px;">
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" scrolling="no" border="0px" style="width:100%;height:500px;border:0px;overflow:hidden;"></iframe>
<iframe v-if="scormUrl" :src="scormUrl" frameborder="0" border="0px" style="width:100%;height:500px;border:0px;"></iframe>
</div>
<div v-if="resType == 52">
<div v-if="contentData.content != ''">
@@ -615,7 +615,7 @@
let urlPre=window.location.protocol;
let configUrl=process.env.VUE_APP_SCORM_URL;
configUrl=urlPre+configUrl.substring(configUrl.indexOf(':')+1);
this.scormUrl=configUrl+pars;//播放的首页
}
});
@@ -1505,7 +1505,7 @@
min-width: 700px;
min-height: 400px;
max-height: 800px;
height: 100%;
//height: 100%;
border: 1px solid #ffffff;
padding-right: 20px;
overflow: auto;