MiniPlayer
How to use:
Just put UIView in your xib or storyboard and change class name on "MiniPlayer"
Set soundTrack property for using
Use @IBInspectable properties to customise (see example directory)
For rule programmatically use :
<p>func play()<p/>
<p>func pause()<p/>
<p>func stop()<p/>
Follow MiniPlayerDelegate:
func didPlay(player: MiniPlayer)
func didStop(player: MiniPlayer)
func didPause(player: MiniPlayer)
pod install
from the Example directory first.
To run the example project, clone the repo, and run Requirements
Swift 5.0; >=iOS10.3
Installation
MiniPlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MiniPlayer'
Author
Vitaly Seroshatnov, [email protected]
License
MiniPlayer is available under the MIT license. See the LICENSE file for more info.