UNPKG

react360vidthree

Version:
42 lines (29 loc) 817 B
# react360vidthree > A 360 view video react component [![NPM](https://img.shields.io/npm/v/react360vidthree.svg)](https://www.npmjs.com/package/react360vidthree) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) ## Install ```bash npm install --save react360vidthree ``` ## Usage ```jsx import React, { Component } from 'react' import Video360Three from 'react360vidthree' class Example extends Component { render () { return ( <Video360Three Id="video1" autoRotate="true" src="https://threejs.org/examples/textures/pano.mp4" width="480" height="270" /> ) } } ``` ## Demo Link Live demo can be seen here - https://jgiwg.csb.app/ ## License MIT © [ashishkummar](https://github.com/ashishkummar)