Skip to content

Releases: davidlondono/PlayerView

Reset Player

23 May 19:59
Compare
Choose a tag to compare

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

18 May 17:08
Compare
Choose a tag to compare

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

31 Mar 15:35
Compare
Choose a tag to compare

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