bobomanywb / simple-react-app

Simple react app that uses video.js with the hls plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-react-app

Simple react app that uses video.js with the hls plugin. This project uses nwb for the build method. In order for the videojs-contrib-hls plugin to play nice with webpack, the webworkify module is swapped out for webworkify-webpack-dropin module. (i.e, nwb uses webpack under the hood).

Swapping out webworkify for webworkify-webpack-dropin does not work using nwb. See:

Main issue: videojs/videojs-contrib-hls#600

Related comments: videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment) videojs/videojs-contrib-hls#600 (comment)

Quick start

  1. npm install
  2. ./node_modules/nwb/lib/bin/nwb.js serve
  3. open up browser and view http://localhost:3000/

About

Simple react app that uses video.js with the hls plugin


Languages

Language:JavaScript 56.8%Language:CSS 33.8%Language:HTML 9.4%