-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
IE11 - Fullscreen doesn't work when disposing of another player on the same page #7013
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Oops, this may be related to us listening to an event with a method on the Player prototype, then when getting disposed it removed all handlers rather than just for the instance. |
Thanks for your answer, so have any ways to quickly fix it? |
probably no easy way for you to fix it, but I'll take a look, it shouldn't be a hard fix for this. I'll take a look today. |
I don't want to manually remove DOM so thank you very much. |
Using Video.js's .bind still makes us attach prototype methods as handlers. Then when one is removed, all handlers are removed. Instead, use arrow methods to make these methods unique. Fixes #7013.
Using Video.js's .bind still makes us attach prototype methods as handlers. Then when one is removed, all handlers are removed. Instead, use arrow methods to make these methods unique. Fixes #7013.
This is out in v7.11.3 now |
Using Video.js's .bind still makes us attach prototype methods as handlers. Then when one is removed, all handlers are removed. Instead, use arrow methods to make these methods unique. Fixes videojs#7013.
Steps to reproduce
Results
Video2 is not full screen and lost control bar
Expected
fullscreen is normal
Additional Information
versions
videojs
videojs 7.8.4
browsers
IE 11 OS 18363.1256
The text was updated successfully, but these errors were encountered: