jfujita / videojs-http-source-selector

VideoJS plugin that leverages videojs-contrib-quality-levels plugin to offer manual user-select able level selection options for adaptive http streams.
MIT License
62 stars 49 forks source link

Default httpSourceSelector of high not selecting max resolution #60

Open peteyb opened 3 years ago

peteyb commented 3 years ago

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