1

Vine loops videos without any pauses in between loops. I've tried creating an AVPlayer that plays the video from the beginning whenever it ends. This introduces a slight lag between every loop. I'm looking for suggestions of ways to avoid this lag.

I have considered creating much longer videos out of repeating short clips. Am I missing some obvious solution?

Thanks.

Finbarr
  • 31,350
  • 13
  • 63
  • 94

1 Answers1

0

You can use AVPlayerQueue to queue up the videos (in this case the same one multiple times), and it will handle playing them in sequence.

For example

iPhone Smooth Transition from One Video To Another

Community
  • 1
  • 1
joelg
  • 1,094
  • 9
  • 19