In html5.dash you can pass options to MediaPlayer according to docs
https://github.com/videojs/videojs-contrib-dash#passing-options-to-dashjs
They have shape like object, with keys like MediaPlayer method, and values like method's arguments.
I need to call setXHRWithCredentialsForType more than once — for multiple types, there is no way to pass an array of types or object here. How can I achieve that?
In
html5.dashyou can pass options toMediaPlayeraccording to docshttps://github.com/videojs/videojs-contrib-dash#passing-options-to-dashjs
They have shape like object, with keys like
MediaPlayermethod, and values like method's arguments.I need to call
setXHRWithCredentialsForTypemore than once — for multiple types, there is no way to pass an array of types or object here. How can I achieve that?