实现循环播放

This commit is contained in:
bluesea 2024-04-09 10:26:58 +08:00
parent 6b4f37e979
commit 5977edf8d1

View File

@ -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) {