More Premium Hugo Themes Premium React Themes

React Native Video Project

一个基于react-native的纯跨平台的影视项目,欢迎大家star

React Native Video Project

一个基于react-native的纯跨平台的影视项目,欢迎大家star

Author Avatar Theme by ikimiler
Github Stars Github Stars: 357
Last Commit Last Commit: Jan 19, 2025 -
First Commit Created: Feb 24, 2024 -
React Native Video Project screenshot

Overview:

The content is promoting a pure cross-platform movie project based on React-Native that users can study and reference after undergoing online evaluations. The project includes links to download the APK for direct experience and error statistics for both iOS and Android platforms.

Features:

  • Pure cross-platform movie project based on React-Native
  • Support for m3u8 video playback with gesture control for fast-forward and rewind
  • Single-threaded m3u8 video caching (no support for resuming playback)
  • Common encapsulation for list pages using Realm database
  • Utilizes CodePush for hot updates
  • Routing and navigation handled by react-navigation
  • Uses Redux framework for state management

Installation:

  • To run on Android:

    • Install Node.js and React-Native globally: npm install -g react-native-cli
    • Execute npm install in the project root directory
    • Remove the conditional statement on line 710 in node-modules/react-native-video/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView
    • Run the app with react-native run-android
  • To run on iOS:

    • Install Node.js and React-Native globally: npm install -g react-native-cli
    • Execute npm install in the project root directory
    • Add the following conditional on line 394 in node-modules/react-native-video/ios/RCTVideo.m:
      if([uri isEqualToString:@""]){
          return nil;
      }
      
    • Run the app with react-native run-ios

Summary:

The content introduces a React-Native-based cross-platform movie project that supports m3u8 video playback, gesture controls, and CodePush for hot updates. The installation guide provides steps for setting up the project on Android and iOS platforms. It suggests modifications for error resolutions and encourages users to contribute by submitting any encountered issues.