I am using AVQueuePlayer to play my list of videos. I want to play one video continuously unless I call for second video to play. Now, Video1 plays and when it ends, calls for video2 to play which I don't like.
Secondly, there is a delay in b开发者_如何学Goetween two videos. Is there any way of smooth transition from 1 video to second one?
Regarding your first question: Set the AVQueuePlayer's actionAtItemEnd property to  AVPlayerActionAtItemEndNone. Then register for AVPlayerItemDidPlayToEndTimeNotification and inside the function that treats this notification call [player seekToTime:kCMTimeZero], which plays your current video from the beginning.
Second question: You could take care of this case inside the above function also. 
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论