Commit c2b1b7a9 authored by Tt's avatar Tt

调整测试iosbug

parent 22fe9f7a
......@@ -391,6 +391,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.showUI();
}
initVideoPlayer() {
this.videoPlayer.node.active = true;
this.videoPlayer.remoteURL = this.data.video_url;
this.videoPlayer.resourceType = cc.VideoPlayer.ResourceType.REMOTE;
this.videoPlayer.node.x = -10000;
this.videoPlayer.node.y = -10000;
this.layout_video.active = false;
......
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