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

Default httpSourceSelector of high not selecting max resolution #60

Open
peteyb opened this issue Feb 3, 2021 · 0 comments
Open

Default httpSourceSelector of high not selecting max resolution #60

peteyb opened this issue Feb 3, 2021 · 0 comments

Comments

@peteyb
Copy link

peteyb commented Feb 3, 2021

I have configured the video.js player with this plugin with the following settings as per the readme:

plugins: {
          httpSourceSelector: {
            default: 'high',
          },
}

However, where the video element is nested inside of an element which is not full screen width the selector is defaulting to 720p instead of 1080p, whilst the higher option is actually present in the list for the user to manually select.

If i move the video outside of the nested element so it has full width it does then default to 1080p.

Is it possible to either:

  1. Make sure high actually defaults to the highest and ignore the containing element
  2. Force it to 1080p specifically

Many thanks in advance and also 👍 for a great plugin

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

1 participant