Socket
Socket
Sign inDemoInstall

dureact

Package Overview
Dependencies
370
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dureact

Dureact is ReactJS video player for html5 compatible browsers


Version published
Maintainers
1
Install size
10.4 MB
Created

Readme

Source

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";

Keywords

FAQs

Last updated on 07 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc