|
@@ -207,7 +207,7 @@ export default {
|
|
liveSdk: null, // 保存直播 JS-SDK 实例
|
|
liveSdk: null, // 保存直播 JS-SDK 实例
|
|
socket: null, // 保存 WebSocket 实例
|
|
socket: null, // 保存 WebSocket 实例
|
|
scene: "", // 场景
|
|
scene: "", // 场景
|
|
- mainPosition: "player", // 用于记录当前主屏幕是文档还是播放器
|
|
|
|
|
|
+ mainPosition: "ppt", // 用于记录当前主屏幕是文档还是播放器
|
|
},
|
|
},
|
|
sectionId: 0,
|
|
sectionId: 0,
|
|
goodsId: 0,
|
|
goodsId: 0,
|
|
@@ -567,11 +567,11 @@ export default {
|
|
|
|
|
|
// 第四步:监听频道信息读取完成事件,初始化播放器
|
|
// 第四步:监听频道信息读取完成事件,初始化播放器
|
|
let options = {
|
|
let options = {
|
|
- el: els.playerEl,
|
|
|
|
- pptEl: els.pptEl,
|
|
|
|
|
|
+ el: els.pptEl,
|
|
|
|
+ pptEl: els.playerEl,
|
|
pptPlaceholder: true,
|
|
pptPlaceholder: true,
|
|
switchPlayer: true,
|
|
switchPlayer: true,
|
|
- controllerPosition: "ppt",
|
|
|
|
|
|
+ controllerPosition: "player",
|
|
fixedController: true,
|
|
fixedController: true,
|
|
controllerEl: els.controllerEl,
|
|
controllerEl: els.controllerEl,
|
|
pptNavBottom: "80px",
|
|
pptNavBottom: "80px",
|