mister-ben / videojs-flvjs

Video.js tech using flv.js for FLV playback
https://mister-ben.github.io/videojs-flvjs/
Other
125 stars 31 forks source link

Make require work #9

Open hexray-newbee opened 6 years ago

hexray-newbee commented 6 years ago

fix https://github.com/mister-ben/videojs-flvjs/issues/8

hexray-newbee commented 6 years ago
> videojs-flvjs@0.1.2 test D:\workspace\github\videojs-flvjs
> karma start test/karma.conf.js

14 12 2017 15:18:25.153:INFO [framework.detect-browsers]: The following browsers were detected on your system: [ 'Chrome', 'IE' ]
14 12 2017 15:18:25.189:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
14 12 2017 15:18:25.202:INFO [launcher]: Starting browser Chrome
14 12 2017 15:18:25.215:INFO [launcher]: Starting browser IE
14 12 2017 15:18:26.327:INFO [Chrome 63.0.3239 (Windows 10 0.0.0)]: Connected on socket 3wcpbqsRBSzXphdOAAAA with id 61327358
14 12 2017 15:18:26.334:INFO [IE 11.0.0 (Windows 10 0.0.0)]: Connected on socket b0zYZgosUHHt_kPxAAAB with id 79471669
..
Chrome 63.0.3239 (Windows 10 0.0.0): Executed 2 of 2 SUCCESS (0.051 secs / 0.036 secs)
..
IE 11.0.0 (Windows 10 0.0.0): Executed 2 of 2 SUCCESS (0.079 secs / 0.073 secs)
TOTAL: 4 SUCCESS
hexray-newbee commented 6 years ago

maybe, making import flv.js or not to configurable is more flexible, like the option flash.swf of Flash tech.