|
@@ -76,7 +76,7 @@ export default {
|
|
|
// 根据房间id查询房间详细信息
|
|
|
const playerParm = {
|
|
|
fileID: this.fileid,
|
|
|
- appID: 1400380125,
|
|
|
+ appID: '1259120186',
|
|
|
autoplay: true,
|
|
|
};
|
|
|
console.log(playerParm);
|
|
@@ -93,6 +93,10 @@ export default {
|
|
|
id: 'tcPlayerScriptId',
|
|
|
url: 'https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.min.js',
|
|
|
});
|
|
|
+ this.loadScript(callback, {
|
|
|
+ id: 'hlscriptId',
|
|
|
+ url: 'https://imgcache.qq.com/open/qcloud/video/tcplayer/libs/hls.min.0.13.2m.js',
|
|
|
+ });
|
|
|
},
|
|
|
loadScript(callback, params) {
|
|
|
if (document.getElementById(params.id)) {
|
|
@@ -137,7 +141,7 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-@import url('https://imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css');
|
|
|
+@import url('//imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css');
|
|
|
.info {
|
|
|
padding: 10px;
|
|
|
.video {
|