mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Merge pull request #2156 from knoxHuang/v1.7-release
add VideoPlayer EventType api
This commit is contained in:
@@ -46,6 +46,21 @@ require('../videoplayer/CCSGVideoPlayer');
|
||||
* !#zh 播放结束
|
||||
* @property {Number} COMPLETED
|
||||
*/
|
||||
/**
|
||||
* !#en meta data is loaded
|
||||
* !#zh 视频的元信息已加载完成,你可以调用 getDuration 来获取视频总时长
|
||||
* @property {Number} META_LOADED
|
||||
*/
|
||||
/**
|
||||
* !#en clicked by the user
|
||||
* !#zh 视频被用户点击了
|
||||
* @property {Number} CLICKED
|
||||
*/
|
||||
/**
|
||||
* !#en ready to play
|
||||
* !#zh 视频准备好了,可以开始播放了
|
||||
* @property {Number} READY_TO_PLAY
|
||||
*/
|
||||
var EventType = _ccsg.VideoPlayer.EventType;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user