bikegriffith / clappr-playback-rate-plugin

A plugin for the Clappr HTML5 video player that enables variable speed playback (0.5x, 1x, 2x, ...)
MIT License
37 stars 18 forks source link

Should be require 'clappr' instead of 'Clappr' #8

Closed FrankFang closed 3 years ago

FrankFang commented 7 years ago

https://github.com/bikegriffith/clappr-playback-rate-plugin/blob/master/dist/clappr-playback-rate-plugin.js#L5

Webpack warnings while compiling.
 ./node_modules/Clappr/dist/clappr.js
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers:
* xxx/node_modules/Clappr/dist/clappr.js
    Used by 1 module(s), i. e.
    xxx/node_modules/clappr-playback-rate-plugin/dist/clappr-playback-rate-plugin.min.js
* xxx/node_modules/clappr/dist/clappr.js
    Used by 1 module(s), i. e.
    xxx/node_modules/babel-loader/lib/index.js??ref--1!xxx/app/javascript/utils/clappr.js