1.4.0 • Published 2 years ago
react-video-ts v1.4.0
react-video-ts
Made with create-react-library
Install
npm install --save react-video-ts
Usage
import React from 'react'
import { Video } from 'react-video-ts'
import 'react-video-ts/dist/index.css'
const App = () => {
return (
<div style={{ margin: 'auto', width: '700px', height: '450px' }}>
<Video video='http://media.w3.org/2010/05/bunny/movie.ogv' />
</div>
)
}
export default App
Note: Add style *{ box-sizing: border-box }
License
MIT ©