Questions tagged [player-swift]
5 questions
2
votes
0 answers
How to solve the problem of UICollectionViewCell reuse causing the video to continue playing
I read the following article:
I am loading videos in AVPlayer in collection view but it repeats some cells data
My attempts:
controller:
let vidos = ["v1","v2","v3"]
let collection : UICollectionView = {
let layout =…

BaiClassmate Xiao
- 333
- 2
- 13
1
vote
1 answer
Player-swift library, how to adjust playback rate
I am using the Player library https://github.com/piemonte/Player for video playback in my app.
I'm trying to figure out how to add the functionality to change the playback speed/rate of the video, like this:…

Alex
- 5,298
- 4
- 29
- 34
1
vote
2 answers
Button control doesn't respond to taps in Swifty `Player` package view controller
Using pod 'Player' in an iOS 9.0 app to play a video. I've subclassed Player class to add a UIButton overlay for closing the window.
It appears fine and has highlighting animation when tapped, but closeTapped isn't called when touching up…

Kof
- 23,893
- 9
- 56
- 81
0
votes
3 answers
Player swift crash app
I have add Player-swift in my project to play video but when i pop that controller app getting crash with following log
Terminating app due to uncaught exception 'NSRangeException', reason:
'Cannot remove an observer for the key
path "rate"…

Hardik Baldha
- 159
- 1
- 14
0
votes
0 answers
Play cached video file
I would like to play a video file which I fetched from a server. I may add that I am using the following plugin Player (which seems to act pretty much like AVPlayer). Just like in the AVPlayer one can set a url like this self.player.url =…

Moritz
- 745
- 1
- 10
- 32