-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Description
With the current OF branch the videoPlayer examples only work with Emscripten, if I use ofSoundStream
(before loading the video player) in ofSetup
. Somehow that was not needed before...
Thats the error without ofSoundStream
:
Uncaught ReferenceError: AUDIO is not defined
at _html5video_player_create (videoPlayerExample.js:1:183919)
at ofxEmscriptenVideoPlayer::ofxEmscriptenVideoPlayer() (videoPlayerExample.wasm:0x4605f)
at ofApp::setup() (videoPlayerExample.wasm:0x908f4)
AUDIO
is defined in https://github.com/openframeworks/openFrameworks/blob/master/addons/ofxEmscripten/libs/html5audio/lib/emscripten/library_html5audio.js and used by the videoPlayer, because it uses the same audioContext (which is needed for panning for example)...