Failed to `new CCMVideo()` under the hood
Opened this issue · 0 comments
panjunqiao commented
Failed to new CCMVideo()
under the hood, TypeError: cc.renderer.Texture2D is not a constructor
It is used for getting default values declared in TypeScript in the first place.
Please ensure the constructor can be called during the script's initialization.