engine-native icon indicating copy to clipboard operation
engine-native copied to clipboard

VideoPlayer 在 Android 平台不能复用

Open drelaptop opened this issue 6 years ago • 0 comments

开发者反馈

发现了个小bug,Cocos2dxVideoView.java的 mMetaUpdated 在重新setVideoURI的时候没有重置为false, 导致VideoPlayer不能复用,即如果想使用VideoPlayer播放A视频后播放B视频,在js监听不到B视频的READY_TO_PLAY事件,建议在setVideoURI的时候,重置 mMetaUpdated 属性

drelaptop avatar Aug 28 '18 05:08 drelaptop