Swiftpack.co -  shiwei93/SwiftyPlayer as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SwiftyPlayer is an audio and video playback component written in Swift, based on AVPlayer.
.package(url: "https://github.com/shiwei93/SwiftyPlayer.git", from: "1.1.0")


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


  • ☑ 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


  • iOS 10+
  • Swift 5.1+


  • ☑ Add Example project


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


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


Stars: 10
Last commit: 27 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API