What is OGPlayer?
OGPlayer is a video SDK for anyone who ships video — from a side project to a broadcast streaming service. It gives you a production player — playback, live & DVR, multi-DRM, ads, subtitles, casting, content ratings, watermarks and a fully themeable control chrome — as native code on every platform:
| Platform | Minimum | Engine | UI | Distribution |
|---|---|---|---|---|
| Android | Android 8.0 (API 26) | Media3 / ExoPlayer | Compose-only OGPlayerView | Maven AARs |
| iOS | iOS 18 | AVFoundation | SwiftUI-only OGPlayerView | Swift Package Manager |
| Web | evergreen browsers, Safari 16+ | hls.js + native HLS | <og-player> custom element | npm / script tag |
One API, three platforms
Section titled “One API, three platforms”The API is mirrored, not merely similar. OGPlayer, OGMediaItem,
PlaybackListener, AnalyticsEvent, AdListener, OGUiConfig and the
error-code table exist with the same names and semantics on all three
platforms. The parity matrix tracks this
feature-by-feature.
In practice that means:
- your Android integration is a working specification for your iOS and web builds;
- analytics pipelines receive identically-shaped events from every client;
- one error-handling table (and one set of custom error messages) covers everything.
What’s in the box
Section titled “What’s in the box”- Playback — VOD, live, live-DVR with edge-aware controls, playback speed, quality selection, trick-play thumbnails.
- Multi-DRM — Widevine, PlayReady and FairPlay behind one config, with rotating-token providers and silent license renewal.
- Ads — Google IMA and FreeWheel behind one provider SPI, with SDK-drawn ad chrome (progress bar, AD chip, countdown, cue markers).
- Tracks — embedded and sideloaded subtitles, multi-language audio, caption styling and viewer text sizing.
- Chrome — every control individually toggleable down to fully headless, replaceable icons, color/dimension tokens, up to 8 custom action icons.
- Overlays — watermarks and any content in nine anchored slots, automatically kept clear of controls and hidden during ads.
- Content ratings — Kijkwijzer-style age and descriptor icons at program start, with pluggable artwork.