Commit 3d9c327e authored by limingzhe's avatar limingzhe

fix: 去掉全屏

parent 13c30981
...@@ -145,7 +145,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -145,7 +145,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const videoLocalNode = cc.find("Canvas/videoBase/videoLocal"); const videoLocalNode = cc.find("Canvas/videoBase/videoLocal");
const video = videoLocalNode.getComponent(cc.VideoPlayer); const video = videoLocalNode.getComponent(cc.VideoPlayer);
video.isFullscreen = true; // video.isFullscreen = true;
video.stayOnBottom = true; video.stayOnBottom = true;
// let playCount = 0; // let playCount = 0;
...@@ -243,7 +243,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -243,7 +243,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
video.resourceType = cc.VideoPlayer.ResourceType.REMOTE; video.resourceType = cc.VideoPlayer.ResourceType.REMOTE;
video.remoteURL = this.data.video_url; video.remoteURL = this.data.video_url;
video.isFullscreen = true; // video.isFullscreen = true;
video.stayOnBottom = true; video.stayOnBottom = true;
this.video = video; this.video = video;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment