-
Notifications
You must be signed in to change notification settings - Fork 54
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
Selector occasionally won't switch qualities #70
Comments
Here is a video recording of the issue: Youtube Video |
I have the same issue.
and not worked. |
I'm also having this issue. |
Thank you for your help in documenting this issue. It seems to be occurring when the video player is initialized twice. Try removing the
|
@izkmdz Is there an alternative option instead of removing |
Hello @bman46, the issue seems to happen when using both For example,
will accomplish the same as var options = {
fluid: true,
controls: true
};
videojs("video_1", options, function() {
var player = this;
player.controlBar.addChild('QualitySelector');
}); Alternatively, you can still use the https://docs.videojs.com/tutorial-setup.html Thanks! |
Ok, thanks for your help @izkmdz. That resolves the issue! |
docs: Remove data-setup property to prevent double initialization (#70)
Description
When attempting to switch qualities, the selector will occasionally refuse to change the video source to the new quality. The quality selected by the user remains selected in the menu however the player never switches to the new quality. No errors are thrown in the console when this happens.
I have tried this on my windows 10 desktop PC and my Mac in chrome both have this issue.
Steps to reproduce
This issue appears to happen 'randomly' although it occurs more often than not.
Results
Expected:
The video will change qualities as indicated by the player buffering and the network stream showing the traffic from a new source.
Actual:
The video player may or may not change the video quality.
Errors:
No errors are shown in the console.
Additional Information
The codepen above uses VideoJS version 6.1.0 but I have tested it in my own application with VideoJS version 7.10.2.
Chrome version: 88.0.4324.182
The text was updated successfully, but these errors were encountered: