0.0.1 • Published 8 years ago

react-html-video v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Getting started

npm install
npm start

Example

import React, { Component } from 'react'
import Video from './Video'

export default class VideoExample extends Component {
  constructor (props) {
    super(props)

    this.state = {}
  }

  render () {
    var videoSrc = [
      'bunny.mp4',
      'bunny.ogg'
    ]

    return (
      <Video
        width={400}
        src={videoSrc}
      />
    )
  }
}