KBVideoPlayer
is a simple iOS video player written entirely in Swift that is highly customizable through storyboards!
Hi! Thanks for checking out my component. Let me teach you how it works :)
let linkToVideo = URL(string: "https://goo.gl/qLRdBp")
let videoPlayer = KBVideoPlayerViewController(urlToPlayMediaFrom: linkToVideo!)
present(videoPlayer, animated: true, completion: nil)
// That's it! Super easy right?
pod 'KBVideoPlayer'
Add KBVideoPlayerViewController.swift and KBVideoPlayerView.xib folder into your project.
Please feel free to submit pull requests. I think there are many other functionalities and things that we can do to improve this component.
Kenny Batista
KBVideoPlayer is available under the MIT license. See the LICENSE file for more info.