base on A <Video /> component for react-native [![React Native Video Component](./docs/assets/baners/rnv-banner.png)](https://thewidlarzgroup.com/?utm_source=rnv&utm_medium=readme&utm_id=banner) 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](https://www.thewidlarzgroup.com/services/free-drm-token-generator-for-video?utm_source=rnv&utm_medium=readme&utm_id=free-drm)) - πŸ“΄ Offline playback, video download, support for side-tracks and side-captions (via [optional SDK](https://docs.thewidlarzgroup.com/offline-video-sdk?utm_source=rnv&utm_medium=readme&utm_id=features-text)) - 🎚️ 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](https://www.thewidlarzgroup.com/blog/react-native-video-upgrade-challenges-custom-maintenance-support#how-we-can-help?utm_source=rnv&utm_medium=readme&utm_id=upgradev5) | Old Architecture | | **v6** | πŸ›  Maintained (community + TWG) | Old + New (Interop Layer) | | [**v7**](https://github.com/TheWidlarzGroup/react-native-video/tree/v7) | [πŸš€ Active Development](https://github.com/TheWidlarzGroup/react-native-video/tree/v7) | Old + New (Full Support) | [`react-native-video` v7](https://github.com/TheWidlarzGroup/react-native-video/tree/v7) introduces full support for the new React Native architecture, unlocking better performance, improved consistency, and modern native modules. --- ## πŸ“š Documentation & Examples - πŸ“– [Documentation](https://docs.thewidlarzgroup.com/react-native-video/) - πŸ“¦ [Example: Free DRM Stream](https://www.thewidlarzgroup.com/services/free-drm-token-generator-for-video?utm_source=rnv&utm_medium=readme&utm_id=free-drm) - πŸ“¦ [Example: Offline SDK integration](https://docs.thewidlarzgroup.com/offline-video-sdk) ## πŸš€ Quick Start ### Install ```bash # Install dependencies yarn add react-native-video # Install pods cd ios && pod install ``` ### Usage ```tsx 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 <a href="https://sdk.thewidlarzgroup.com/offline-video?utm_source=rnv&utm_medium=readme&utm_id=banner"> <img src="./docs/assets/baners/offline-sdk-banner.png" alt="Offline SDK Preview" width="40%" align="right" /> </a> ### 1 Β· πŸ“₯ Offline SDK #### Need Offline Video Playback in React Native? If you're building a video-first app and need to **download HLS streams for offline playback**, you're in the right place. #### πŸ‘‰ [Check Offline Video SDK for React Native](https://sdk.thewidlarzgroup.com/offline-video?utm_source=rnv&utm_medium=readme&utm_id=check-offline-video-sdk) This SDK supports: - 🎞 Offline HLS playback - 🎧 Multi-language audio track downloads - πŸ’¬ Subtitles support - πŸ” DRM license handling - πŸ“Š Analytics & state tracking --- #### πŸ”‘ How to get access? - Get a **free trial** (no credit card required) - Use our [starter project](https://github.com/TheWidlarzGroup/react-native-offline-video-starter) to see it in action - Integrates with both `v6` and `v7` versions πŸ‘‰ **[Start Free Trial on the SDK Platform β†’](https://sdk.thewidlarzgroup.com/signup?utm_source=rnv&utm_medium=readme&utm_id=start-trial-offline-video-sdk)** --- <a href="https://sdk.thewidlarzgroup.com/background-uploader?utm_source=rnv&utm_medium=readme&utm_id=banner"> <img src="./docs/assets/baners/bgupload-sdk-banner.png" alt="Offline SDK Preview" width="40%" align="right" /> </a> ### 2 Β· ⚑ Background Upload SDK #### Need Reliable Video Uploads in React Native? If you're building a video-first app and need to **upload large video files reliably in the background**, you're in the right place. #### πŸ‘‰ [Check Background Upload SDK for React Native](https://sdk.thewidlarzgroup.com/background-uploader?utm_source=rnv&utm_medium=readme&utm_id=check-background-upload-sdk) This SDK supports: - πŸ“€ Background video uploads - πŸ”„ Automatic retry mechanisms - πŸ“Š Upload progress tracking - πŸ›‘οΈ Resume interrupted uploads - πŸ“± Works when app is backgrounded - πŸ” Secure upload handling --- #### πŸš€ Perfect for Apps Uploading Large Media Whether you're building social media apps, content platforms, or enterprise solutions, our Background Upload SDK ensures your users can upload videos seamlessly without interruption. #### πŸ“ž Ready to Get Started? Contact us to learn more about integrating background video uploads into your React Native application. πŸ‘‰ **Contact us at [[email protected]](mailto:[email protected])** --- ### 3 Β· πŸ§ͺ Architecture Write your own plugins to extend library logic, attach analytics or add custom workflows - **without forking** the core SDK. β†’ [Plugin documentation](https://docs.thewidlarzgroup.com/react-native-video/docs/v6/other/plugin?utm_source=rnv&utm_medium=readme&utm_id=plugin-text) --- ## πŸ’Ό TWG Services & Products | Offering | Description | |----------|-------------| | [**Professional Support Packages**](https://www.thewidlarzgroup.com/issue-boost?utm_source=rnv&utm_medium=readme&utm_campaign=professional-support-packages#Contact) | Priority bug-fixes, guaranteed SLAs, [roadmap influence](https://github.com/orgs/TheWidlarzGroup/projects/6) | | [**Issue Booster**](https://www.thewidlarzgroup.com/issue-boost?utm_source=rnv&utm_medium=readme) | Fast-track urgent fixes with a pay‑per‑issue model | | [**Offline Video SDK**](https://sdk.thewidlarzgroup.com/offline-video?utm_source=rnv&utm_medium=readme&utm_campaign=downloading&utm_id=offline-video-sdk-link) | Plug‑and‑play secure download solution for iOS & Android | | [**Background Upload SDK**](https://sdk.thewidlarzgroup.com/background-uploader?utm_source=rnv&utm_medium=readme&utm_campaign=uploading&utm_id=background-upload-sdk-link) | Reliable background upload solution for iOS & Android | | [**Integration Support**](https://www.thewidlarzgroup.com/?utm_source=rnv&utm_medium=readme&utm_campaign=integration-support#Contact) | Hands‑on help integrating video, DRM & offline into your app | | [**Free DRM Token Generator**](https://www.thewidlarzgroup.com/services/free-drm-token-generator-for-video?utm_source=rnv&utm_medium=readme&utm_id=free-drm) | Generate Widevine / FairPlay tokens for testing | | [**Ready Boilerplates**](https://www.thewidlarzgroup.com/showcases?utm_source=rnv&utm_medium=readme) | 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**](https://www.thewidlarzgroup.com/blog/react-native-video-upgrade-challenges-custom-maintenance-support?utm_source=rnv&utm_medium=readme&utm_id=upgrade-blog&utm_campaign=v7) | Common upgrade pitfalls & how to solve them | *See how [TWG](https://www.thewidlarzgroup.com/?utm_source=rnv&utm_medium=readme&utm_id=services-text) helped **Learnn** ship a world‑class player in record time - [case study](https://gitnation.com/contents/a-4-year-retrospective-lessons-learned-from-building-a-video-player-from-scratch-with-react-native).* Contact us at [[email protected]](mailto:[email protected]) ## 🌍 Social - 🐦 **X / Twitter** - [follow product & release updates](https://x.com/TheWidlarzGroup) - πŸ’¬ **Discord** - [talk to the community and us](https://discord.gg/9WPq6Yx) - πŸ’Ό **LinkedIn** - [see TWG flexing](https://linkedin.com/company/the-widlarz-group) ## πŸ“° Community & Media - πŸ—½ **React Summit US** – How TWG helped Learnn boost video performance on React Native. [Watch the talk Β»](https://gitnation.com/contents/a-4-year-retrospective-lessons-learned-from-building-a-video-player-from-scratch-with-react-native) - 🧨 **v7 deep dive** – Why we’re building v7 with Nitro Modules [Watch on X Β»](https://x.com/krzysztof_moch/status/1854162551946478051) - πŸ› οΈ **Well-maintained open-source library** - What does it truly mean? - Bart's talk for React Native Warsaw [Watch here Β»](https://www.youtube.com/watch?v=RAQQwGCQNqY) - πŸ“Ί **β€œOver the Top” Panel** - Building Streaming Apps for Mobile, Web, and Smart TVs - Bart giving his insights on the industry [Watch here Β»](https://youtu.be/j2b_bG-32JI) ", Assign "at most 3 tags" to the expected json: {"id":"10209","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"