How to play next video
I create list of URL video streams.
If video ending, then create new object VLCMedia.
This object set for player.
Next call play.
Sometimes it happens that the application crashes.
Please, what's the right way to switch another movie?
var media = VLCMedia(url:link)
self.player.pause()
self.player.media = media
self.player.play()