A Swift-based iOS video player with gesture controls, subtitle support, media caching, and full-screen rotation.
VGPlayer is an open-source iOS video player library built with Swift and AVFoundation. It enables developers to integrate a feature-rich video player into their apps, supporting local and network playback, gesture-based controls, subtitles, and media caching. It solves the need for a customizable, native video player beyond Apple's basic AVPlayerViewController.
iOS developers building apps that require embedded video playback with custom UI, gesture controls, or advanced features like subtitle support and caching.
Developers choose VGPlayer for its simplicity, extensibility, and comprehensive feature set—including gesture controls, subtitle support, and caching—without the overhead of larger media frameworks. It’s a lightweight, Swift-native alternative to building a player from scratch.
📺 A simple iOS video player by Vein.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Horizontal swipes for seek and vertical for brightness/volume adjustment provide a smooth, user-friendly interaction model directly demonstrated in the README gifs.
Loads SRT and ASS subtitle files, enabling multilingual and accessible video playback, as listed in the features section.
Implements fragment-based caching to reduce bandwidth and improve load times, referencing VIMediaCache for robust network video handling.
Supports continuous audio when the app is in the background, with clear setup instructions for AVAudioSession in the README.
Last updated in 2017 for Swift 4, making it potentially incompatible with newer Swift versions and iOS SDKs without manual migration efforts.
No pre-styled components; developers must subclass VGPlayerView and code UI elements from scratch, increasing initial development overhead.
README is basic with minimal examples, and the lack of recent updates suggests scarce community support and potential unfixed bugs.