bvibber / ogv.js

JavaScript media player using Ogg/Vorbis/Theora/Opus/WebM libs compiled with Emscripten
https://brooke.vibber.net/misc/ogv.js/demo/
Other
1.2k stars 101 forks source link

Running demo comes with errors on benchmark.update() and controls.init() call #556

Open Schizo opened 4 years ago

Schizo commented 4 years ago

I've followed the instructions to create my own build:

git submodule update --init
npm install
make js

Which seemed to be successful, after that I've run npx webpack-dev-server to basically get what is on https://brionv.com/misc/ogv.js/demo/demo.js. I've navigated to localhost:8080/demo, which runs fine. However I'm getting the following error's in the console.

demo.js?version=OGV_VERSION:1059 Uncaught TypeError: controls.init is not a function
demo.js?version=OGV_VERSION:1107 Uncaught TypeError: benchmark.update is not a function

I'm able to control the video through the console by executing o.play(). Any Ideas?