Giter Site home page Giter Site logo

tientham / rn-video Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 0.0 1.84 MB

React Native Video with AndroidX Media3

Home Page: https://www.npmjs.com/package/@tientham/rn-video

License: MIT License

Java 81.98% JavaScript 2.04% Ruby 2.70% Swift 0.62% C 0.07% Objective-C 1.67% Objective-C++ 0.51% TypeScript 10.41%
android library media3 media3-exoplayer react-native video

rn-video's Introduction

RnVideo Rn-Video

RnVideo is a react native library for a fast and performance video on Android (currently support only Android).

RnVideo

Motivation

Some of my applications have been sufferring a lot about the performance issue with normal react native video libraries. It motivates me to make my own one for some very specific use-cases.

This library currently supports Android. And it is using the latest androidx.media3.

Please note that, according to this annoucement of Exoplayer Exoplayer Deprecation, exoplayer:2.19.1 will be the last artifact release for ExoPlayer and it will be replaced by AndroidX Media3. Therefore, my library here will survive ๐Ÿ˜‰

Features

  • Video video
  • Gif
  • Blur gif

Installation

npm install @tientham/rn-video

Usage

import { RnVideo } from "@tientham/rn-video";

// ...

<RnVideo
  source="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4"
  isPlay={true}
  isReplay={true}
/>

<GifRnVideo source="gif_url" />

<BlurGifRnVideo source="gif_url" />

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT Copyright (c) 2023 TO Minh Tien โค๏ธ

rn-video's People

Contributors

tientham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rn-video's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.