Releases: davidlondono/PlayerView
Releases · davidlondono/PlayerView
Reset Player
useful on Cells, so it can reset the player observers with:
playerView.resetPlayer()
changed all the typealias for player but make sure to import Video Library
import AVFoundation.AVPlayer
Videos Queue
Now The Player can have a list of URLs to reproduce
added method for initialize Queue
playerView.urls = [urls]
add more videos for queue
playerView.addVideosOnQueue(urls: [urls])
playerView.addVideosOnQueue(url1,url2...)
play next video
playerView.next()
0.1.5
change the:
playerView.setUrl(url)
to
playerView.url = url
added the delegate function:
func playerVideo(playerFinished player: PlayerView)
all the functions for the delegate are now optional