Skip to content

TheWidlarzGroup/react-native-video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

React Native Video Component

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

Offline SDK Preview

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.

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 to see it in action
  • Integrates with both v6 and v7 versions

πŸ‘‰ Start Free Trial on the SDK Platform β†’


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 [email protected]

🌍 Social

πŸ“° 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 Β»