cycjimmy/jsmpeg-player

How to set config > audio:false,disableGl:true

baur opened this issue · 1 comments

baur commented

How to set config > audio:false,disableGl:true
not works > new JSMpeg.VideoElement('#videoWrapper1', videoUrl+'1', {audio:false,disableGl:true});

jsmpeg-player.umd.min.js:6 The AudioContext was not allowed to start. 
It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
A @ jsmpeg-player.umd.min.js:6
jsmpeg-player.umd.min.js:6 WARNING: Too many active WebGL contexts. Oldest context will be lost.
A @ jsmpeg-player.umd.min.js:6
jsmpeg-player.umd.min.js:6 WARNING: Too many active WebGL contexts. Oldest context will be lost.
A.IsSupported @ jsmpeg-player.umd.min.js:6
jsmpeg-player.umd.min.js:6 WARNING: Too many active WebGL contexts. Oldest context will be lost.
baur commented

works -> new JSMpeg.VideoElement('#videoWrapper11', videoUrl+'11', {},{audio:false,disableGl:true});
but I caught the error: -> #366