实现循环播放
This commit is contained in:
parent
6b4f37e979
commit
5977edf8d1
@ -231,6 +231,8 @@ class CCSpatialVideoDisplayController: BaseController {
|
||||
@objc func notification_PlayerEndTime(notification:Notification){
|
||||
print("PlayerEndTime....")
|
||||
// needRestReaderTimeRange = true
|
||||
player?.seek(to: .zero)
|
||||
player?.play()
|
||||
}
|
||||
|
||||
//监听拖动播放的进度事件
|
||||
@ -336,6 +338,7 @@ class CCSpatialVideoDisplayController: BaseController {
|
||||
|
||||
@objc func notificatin_failedToPlayToEndTimeNotification(notifiation:Notification) {
|
||||
print("notificatin_failedToPlayToEndTimeNotification....")
|
||||
|
||||
}
|
||||
|
||||
@objc func notificatin_newErrorLogEntryNotification(notifiation:Notification) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user