khalisafkari / react-native-kvideo

react native video control, clean & fast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-kvideo

react-native-kvideo is a react-native-video based video player component. React Native > 0.62.* is required.

Currently, the performance is not tested on IOS.

Features:

  • Basic playback features, friendly interface, progress control, evolving animation, and simple style.
  • Fine-grained optimization, the UI thread can maintain 60 FPS during playback, and the JS thread can maintain 60 ~ 55 FPS.
  • Provides full-screen playback.
  • Supports formats such as MP4, M4A, FMP4, WebM, MKV, MP3, Ogg, WAV, MPEG-TS, MPEG-PS, FLV and ADTS (AAC).
  • Support DASH, HlS and SmoothStreaming adaptive streaming.

Basic playback function, schedule control.

Installation

React-native-kvideo uses react-native-video, react-native-system-setting,react-native-vector-icons, and @react-native-community/slider. You need to install these dependencies yourself.

yarn add react-native-kvideo

link:

react-native link react-native-video
react-native link react-native-system-setting
react-native link react-native-vector-icons
react-native link @react-native-community/slider

Usage simple

import IVideo from 'react-native-kvideo';

<IVideo
    source={{ uri: uri }}
/>

Functions & Props

check your autocomplete vscode or idea

About

react native video control, clean & fast


Languages

Language:TypeScript 56.1%Language:Java 15.7%Language:Ruby 13.4%Language:Objective-C 11.1%Language:JavaScript 2.2%Language:Starlark 1.5%