Coder Social home page Coder Social logo

gyanprakash73 / react-native-custom-video-player Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1 KB

This is an npm package of the video player, you can install and use this.

custom-video-player react-native-video-controls react-native-video-player

react-native-custom-video-player's Introduction

react-native-custom-video-player

A <Video> component for react-native

react-native-custom-video-player.mp4

Installation

Using npm:

npm install --save react-native-custom-video-player

or using yarn:

yarn add react-native-custom-video-player

Usage

// Load the module

import CustomVideoPlayer from "react-native-custom-video-player";

// Within your render function

<CustomVideoPlayer
        style={{
          width: Dimensions.get("window").width,
          height: 250,
          marginTop: Platform.OS == "ios" ? 50 : 0,
        }}
        source={{
          uri: "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8",
        }}
        poster="https://pbs.twimg.com/media/FDX7UCbVcAUcNXj.jpg"
        title="GYAN-VIDEO-PLAYER"
        autoPlay={false}
        playInBackground={false}
        showSeeking10SecondsButton={true}
        showHeader={true}
        showFullScreenButton={true}
        showSettingButton={true}
        showMuteButton={true}
      />

react-native-custom-video-player's People

Contributors

gyanprakash73 avatar

Watchers

 avatar

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.