Skip to content

A simple app using video.js with an hls plugin and webpack for bundling

Notifications You must be signed in to change notification settings

vpowers/simple-webpack-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-webpack-app

Simple webpack app that uses video.js with the hls plugin. In order for the videojs-contrib-hls plugin to play nice with webpack, the webworkify module is swapped out for the webworkify-webpack-dropin module.

Swapping out webworkify for webworkify-webpack-dropin DOES work when bundling with webpack. 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/webpack-dev-server/bin/webpack-dev-server.js --progress --colors
  3. open a browser and view http://localhost:8080/

About

A simple app using video.js with an hls plugin and webpack for bundling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published