Tuesday, April 16, 2024
HomeSample Page

Sample Page Title

The VideoClip class doesn’t exist within the cc module in cocos creator model 2.4.10, I wish to create a property with a video clip sort for me so as to add to the VideoPlayer, is there an answer for this?

i can create a property with a video clip sort like this:

Hi, thanks to your response. But when I attempt to create a property with a video clip sort, there may be present an error like this :

57229.zip (224.1 KB)
i dont have this tip in cc.VideoClip, possibly you possibly can strive my challenge.

I’ve tried your challenge and no error in cc.VideoClip, however when I attempt to create new challenge utilizing cocos creator 2.4.10, I nonetheless get similar error.

at creator.d.ts in your challenge, there’s a class :

export class VideoClip extends Asset implements EventTarget {

But, at creator.d.ts in my challenge, there isn’t any such class. Is it protected if I add that class manually?



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments