项目需要使用指定的视频库,视频库渲染使用的是Canvas。CocosCreator跟节点是Canvas ,新增一个Canvas(节点/预制体)用于使用指定的视频库时候出现:
“Can’t init canvas ‘videoPlayNode’ because it conflicts with the existing ‘Canvas’, the scene should only have one active canvas at the same time.”
- Creator 版本: 2.4.0
- 目标平台: Google浏览器/ 模拟器
- 编辑器操作系统: 2.4.0