求助:代码本地更换videoplayer clip

代码本地更换videoplayer clip,this.videoPlayer.clip = ‘resources/’ + “video” + (i + 1) + “.mp4”;
报错 ERROR: TypeError: null is not an object (evaluating ‘sgNode.setURL’),

是有该文件的,文档没找到怎么写

this.videoPlayer.clip = cc.url.raw(‘resources/’ + “video” + (i + 1) + “.mp4”); 可以了 ,模拟器不行,浏览器可以