MetaCDN / videojs-shaka-player

Shaka Player playback technology for Video.js
Other
42 stars 22 forks source link

Displaying Bit-rate on auto mode #19

Open Awais-cb opened 7 years ago

Awais-cb commented 7 years ago

Hi Thanks for this awesome products i was just wondering if there is any way to display bit-rate on auto mode? any help would be much appreciated
file path : shakajs/dist/player.full.js is there any way to extract current height on auto mode i am trying to display it here

      var el = document.createElement('li');
      el.setAttribute('class', 'vjs-menu-item vjs-selected');
      var label = document.createElement('span');
      setInnerText(label, "Auto ("+videoTracks.height+"p)");
      el.appendChild(label);

currently its static i want it to be dynamically updated