Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing resolution results to error: TypeError: setSourcesSanitized(...) is undefined #116

Open
Edvac opened this issue Mar 29, 2018 · 1 comment

Comments

@Edvac
Copy link

Edvac commented Mar 29, 2018

When I change resolution the video stops. (I should reload the video in order to play)
and I get the following error in the console.

VIDEOJS: ERROR: TypeError: setSourcesSanitized(...) is undefined
Stack trace:
onClick@http://localhost:63343/videojs-tutorial/dist/videojs-resolution-switcher.js:92:7
bound@http://localhost:63343/videojs-tutorial/dist/video.js:2348:12
on/data.dispatcher@http://localhost:63343/videojs-tutorial/dist/video.js:1971:15
 video.js:498:5

Is it a videojs or videojs-resolution-switcher error?
How can I solve it?

@beznosd
Copy link

beznosd commented Nov 10, 2018

Here is the solution, works well for version 7.
#88 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants