Tuesday, September 27, 2022
HomeGame DevelopmentCocos Creator 2.4.10 VideoClip Class - Cocos Creator

Cocos Creator 2.4.10 VideoClip Class – Cocos Creator


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 kind for me so as to add to the VideoPlayer, is there an answer for this?


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

Hello, thanks on your response. However when I attempt to create a property with a video clip kind, there’s present an error like this :

57229.zip (224.1 KB)
i dont have this tip in cc.VideoClip, perhaps you’ll be able to strive my mission.

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

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

export class VideoClip extends Asset implements EventTarget {
...
}

However, at creator.d.ts in my mission, there is no such thing as a such class. Is it protected if I add that class manually?

You’ll be able to attempt to reload the editor.

I’ve tried it however the error nonetheless seems :frowning:

may your present me your error demo?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments