Package Exports
- react-native-video
- react-native-video/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-video) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
The most battle-tested open-source video player component for React Native with support for DRM, offline playback, HLS/DASH streaming, and more.
π Features
- π± Plays all video formats natively supported by iOS/Android
- βΆοΈ Local and remote playback
- π Streaming: HLS β’ DASH β’ SmoothStreaming
- π DRM: Widevine & FairPlay (See free DRM stream example)
- π΄ Offline playback, video download, support for side-tracks and side-captions (via optional SDK)
- ποΈ Fine-grained control over tracks, buffering & events
- π§© Expo plugin support
- π Basic Web Support
- π± Picture in Picture
- πΊ TV Support
β¨ Project Status
Version | State | Architecture |
---|---|---|
v5 and lower | β End-of-life Commercial Support Available | Old Architecture |
v6 | π Maintained (community + TWG) | Old + New (Interop Layer) |
v7 | π Active Development | Old + New (Full Support) |
react-native-video
v7 introduces full support for the new React Native architecture, unlocking better performance, improved consistency, and modern native modules.
π Documentation & Examples
π Quick Start
Install
# Install dependencies
yarn add react-native-video
# Install pods
cd ios && pod install
Usage
import Video from 'react-native-video';
export default () => (
<Video
source={{ uri: 'https://www.w3schools.com/html/mov_bbb.mp4' }}
style={{ width: '100%', aspectRatio: 16 / 9 }}
controls
/>
);
π§© Plugins

1 Β· π₯ Offline SDK
Enable offline streaming with full control over downloads, license lifecycle, secure storage, and media access.
- Track selection (bitrate, audio, subtitles)
- Pause / resume & background queueing
- Expiration & auto-cleanup
- Built for Android & iOS
- β Read the SDK Docs
2 Β· π§ͺ Architecture
Write your own plugins to extend library logic, attach analytics or add custom workflows - without forking the core SDK.
β Plugin documentation
πΌ TWG Services & Products
Offering | Description |
---|---|
Professional Support Packages | Priority bug-fixes, guaranteed SLAs, roadmap influence |
Issue Booster | Fast-track urgent fixes with a payβperβissue model |
Offline Video SDK | Plugβandβplay secure download solution for iOS & Android |
Integration Support | Handsβon help integrating video, DRM & offline into your app |
Free DRM Token Generator | Generate Widevine / FairPlay tokens for testing |
Ready Boilerplates | Ready-to-use apps with offline HLS/DASH DRM, video frame scrubbing, TikTok-style video feed, background uploads, Skia-based frame processor (R&D phase), and more |
React Native Video Upgrade Guide | Common upgrade pitfalls & how to solve them |
See how TWG helped Learnn ship a worldβclass player in record time - case study.
Contact us at hi@thewidlarzgroup.com
π Social
- π¦ X / Twitter - follow product & release updates
- π¬ Discord - talk to the community and us
- πΌ LinkedIn - see TWG flexing
π° Community & Media
π½ React Summit US β How TWG helped Learnn boost video performance on React Native.
Watch the talk »𧨠v7 deep dive β Why weβre building v7 with Nitro Modules Watch on X Β»
π οΈ Well-maintained open-source library - What does it truly mean? - Bart's talk for React Native Warsaw Watch here Β»
πΊ βOver the Topβ Panel - Building Streaming Apps for Mobile, Web, and Smart TVs - Bart giving his insights on the industry Watch here Β»