开发者

Playing movies one after the other in iPhone with a seamless transistion

开发者 https://www.devze.com 2023-02-28 22:20 出处:网络
I am trying to play a few movies, one after the other, in which the transition from onw moive to the next will be seamless to the user.

I am trying to play a few movies, one after the other, in which the transition from onw moive to the next will be seamless to the user. I know i can use AVComposition, but this is not good for me as i want the user to choose on run time which movie will be played next. Using AVQeueuPlayer is no good too since the transition between the movies i开发者_C百科s noticeable.

Any ideas?

Thanks,


The only way I can think of is to create a table with all the possible movies to be played, when the user selects a cell he makes his choice, save this choice on a variable and set the player to play the chosen file on the playbackdidfinish notification method.

0

精彩评论

暂无评论...
验证码 换一张
取 消