react-jplayer
Advanced tools
Comparing version 1.0.0 to 2.0.0
@@ -25,2 +25,3 @@ { | ||
"react-dom": "^15.4.2", | ||
"react-jplayer": "^1.0.0", | ||
"react-json-pretty": "^1.3.1", | ||
@@ -27,0 +28,0 @@ "react-redux": "^5.0.2", |
@@ -6,2 +6,3 @@ /* eslint jsx-a11y/href-no-hash: 0 */ | ||
import { createStore, combineReducers } from 'redux'; | ||
import { getInitialStates, reducer } from 'react-jplayer'; | ||
import 'bootstrap/dist/css/bootstrap.css'; | ||
@@ -19,3 +20,2 @@ import 'font-awesome/css/font-awesome.css'; | ||
import StatusWrapper from './helpers/statusWrapper'; | ||
import { getInitialStates, reducer } from '../../src/index'; | ||
@@ -22,0 +22,0 @@ const connectedJPlayers = [ |
/* eslint react/prop-types: 0 */ | ||
import React from 'react'; | ||
import { connect, JPlayer, Gui, SeekBar, BufferBar, | ||
Poster, Audio, Title, FullScreen, Mute, Play, PlayBar, Repeat, | ||
VolumeBar, Duration, CurrentTime, Download, BrowserUnsupported, | ||
} from '../../../src/index'; | ||
} from 'react-jplayer'; | ||
import poster from '../../assets/Miaow - Bubble.jpg'; | ||
@@ -9,0 +9,0 @@ import { onTouchStart, onClick } from './hoverControl'; |
/* eslint react/prop-types: 0 */ | ||
import React from 'react'; | ||
import { connect, JPlayer, Gui, SeekBar, BufferBar, | ||
Poster, Video, Title, FullScreen, Mute, Play, PlayBar, Repeat, | ||
VolumeBar, Duration, CurrentTime, BrowserUnsupported } from '../../../src/index'; | ||
VolumeBar, Duration, CurrentTime, BrowserUnsupported } from 'react-jplayer'; | ||
import videoPoster from '../../assets/Big Buck Bunny Trailer.jpg'; | ||
import { onTouchStart, onClick } from './hoverControl'; | ||
@@ -28,5 +29,11 @@ const VideoPlayer = props => ( | ||
<div className="jp-volume-container"> | ||
<Mute><i className="fa">{/* Icon set in css*/}</i></Mute> | ||
<Mute | ||
aria-haspopup | ||
onTouchStart={onTouchStart} | ||
onClick={onClick(props.setMute, props.options.muted)} | ||
> | ||
<i className="fa">{/* Icon set in css*/}</i> | ||
</Mute> | ||
<div className="jp-volume-slider"> | ||
<div className="jp-volume-bar-container"> | ||
<div className="jp-bar-container jp-volume-bar-container"> | ||
<VolumeBar /> | ||
@@ -33,0 +40,0 @@ </div> |
{ | ||
"name": "react-jplayer", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Audio & Video jPlayer library for React", | ||
@@ -5,0 +5,0 @@ "author": "Martin Dawson <u1356770@unimail.hud.ac.uk>", |
@@ -13,3 +13,3 @@ [![Build Status](https://travis-ci.org/MartinDawson/react-jPlayer.svg?branch=master)](https://travis-ci.org/MartinDawson/react-jPlayer) | ||
### Installation | ||
```npm install --save react-jPlayer``` | ||
```npm install --save react-jplayer``` | ||
@@ -16,0 +16,0 @@ ### Examples |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1334909
9113