看到有个报错:TypeError: t.PAL.g.createVideo is not a function
使用方法没问题,ide里都能播放
let video = new Laya.VideoNode();
video.size(900,600);
video.mode = "player";
video.options.controls = true;
video.options.objectFit = "contain";
video.source = src; //设置视频源文件
video.autoPlay=true;
this.view.addChild(video);