Swiftpack.co - Package - shiwei93/SwiftyPlayer

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

shiwei93/SwiftyPlayer

SwiftyPlayer is an audio and video playback component written in Swift, based on AVPlayer.

SwiftyPlayer

SwiftyPlayer is an audio and video playback component written in Swift, based on AVPlayer. SwiftyPlayer only focuses on playback events, and does not provide screen rotation, gesture control, and other functions that are not related to playback events.

New SwiftyPlayer repo

Features

  • ☑ Only focus on audio and video playback events
  • ☑ Complete basic properties of the player
    • ☑ Player status management, playing/paused/buffering and other basic player attributes
    • ☑ Play, pause, fast forward and rewind, previous song, next song, etc.
    • ☑ Provides a repeat mode for resource playback
  • ☑ Provide complete customization options, such as
    • ☑ Enable options for playing videos in the background
    • ☑ Provide Buffer strategy options
  • ☑ Switch resource quality according to network environment
  • ☑ Provides the analysis method of SRT file format

Requirements

  • iOS 10+
  • Swift 5.1+

TODO

  • ☑ Add Example project

Wiki

You can view information about how to install and how to use through the wiki.

License

SwiftyPlayer is released under the MIT license. See LICENSE for details.

Github

link
Stars: 10
Last commit: 11 weeks ago