Player
Player copied to clipboard
▶️ Play and stream media in Swift
When `playbackResumesWhenEnteringForeground` is true. Once application goes to background then foreground; `UIApplicationWillEnterForeground` is received, player doesn't check if it is visible or not, therefore it resumes all player instances.
It always plays video at the first time. I try to set : self.player.autoplay = false But It doesn't work.... PLs help me check it out. thank you :)
Autoplay false is not working because settign the rate on setup causes to play item on load.
⚠️ Warning: this version has breaking changes. ⚠️ * Full cross-platform support (macOS/iOS/tvOS). * Minimum deployment targets: * iOS 9.0 * tvOS 9.0 * macOS 10.10 * System-supplied playback controls....
Otherwise implementers must implement them all if they implement any, which is not an ideal experience cc @piemonte
Hi, Video is not rotate with device orientation & video play issue from remote url
Hello, I added the following code in the viewDidLoad ``` override func viewDidLoad() { super.viewDidLoad() self.player.playerDelegate = self self.player.playbackDelegate = self self.player.url = URL(string: "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-15.mp3")! self.player.playbackResumesWhenBecameActive=false } ``` and added...
i have added support fullscreen mode to the player, hope it's going to help you :)