Examples for react-jPlayer and

react-jPlayer-examples

Examples for react-jPlayer and react-jPlaylist

Run jPlayer/jPlaylist Examples NPM examples (Audio/Video/Live/Multiple)

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

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

npm install

npm run dev

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.

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

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

npm install

npm run dist

open public/index.html

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。