Skip to content
Examples for react-jPlayer and add-ons
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Latest commit ac447d5 Jan 2, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jPlayers changed README.md for UMD players Sep 14, 2017
jPlaylists changed README.md for UMD players Sep 14, 2017
.editorconfig updated editorconfig Sep 8, 2017
.eslintrc added broken umd players Sep 14, 2017
.gitignore added all examples May 2, 2017
.travis.yml added all examples May 2, 2017
README.md Update README.md Jan 2, 2018

README.md

react-jPlayer-examples

Examples for react-jPlayer and react-jPlaylist

Run jPlayer/jPlaylist Examples

NPM examples (Audio/Video/Live/Multiple)

  1. git clone https://github.com/jPlayer/react-jPlayer-examples.git

  2. For the jPlayer examples: cd jPlayers/[projectName] OR for the jPlaylist examples: cd jPlaylists/[projectName]

  3. npm install

  4. npm run dev

  5. open http://localhost:8080/ in your browser

UMD example

These examples are just to show how to use react-jPlayer without npm or even webpack. They just include the .css and .js files from /dist/ directly into the .html file so they can be run in the browser directly. These examples include the .css and .js files from the node_modules in the .html file just for ease of use but you can just copy the files manually to your project and include them instead if you don't want to use npm at all.

  1. git clone https://github.com/jPlayer/react-jPlayer-examples.git

  2. For the jPlayer example: cd jPlayers/UMDPlayer OR for the jPlaylist example: cd jPlaylists/UMDPlaylist

  3. npm install

  4. npm run dist

  5. open public/index.html

You can’t perform that action at this time.