1.0.15 • Published 10 years ago

dureact v1.0.15

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

dureact

Dureact is ReactJS video player for html5 compatible browsers

usage

npm install dureact
import VideoPlayer from "dureact";
import {render} from "react-dom";

render(<VideoPlayer videoSrc="http://site.com/myawesomevideo.mp4"/>,
      document.getElementById("myvideos"));
@import "node_modules/dureact/src/dist/css/style.css"; /* import dureact's style file  */
<!-- include fontawesome css -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<div id="myvideos"></div>

props

startFrom - <Integer seconds> start point of video

    <VideoPlayer videoSrc="..." startFrom={10} />

#contributing

https://github.com/Dzhakhar/react-video-player.git dureact
cd dureact
npm install
webpack --watch --progress --colors
google-chrome demo.html // open demo.html in your browser
import React from "react";
import VideoPlayer from "src/lib/js/videocomponents.jsx";
1.0.15

10 years ago

1.0.14

10 years ago

1.0.13

10 years ago

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago