Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-jplayer

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jplayer - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

index.js

1

examples/package.json

@@ -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",

2

examples/src/app.jsx

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc