Bitrate Selection

Youtube Bitrates

This example demonstrates bitrates selection with JWPlayer's bitrate menu.

The default quality is set to default which the player will determine the default quality. Due to the player dimensions being small it will default to media and can be manually changed.

NOTE: Youtube has disabled actual bitrate selection. This might be enabled again.

    <div class="flex w-full h-auto my-auto">
          <div id="bitrates" class="is-bitrate"></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("bitrates").setup({
    "aspectratio": "16:9",
    "playbackRateControls": true,
    "sources": [
        {
            "file": "http://www.youtube.com/watch?v=YE7VzlLtp-4",
            "type": "youtube"
        }
    ],
    "width": "100%",
    "youtube": {
        "defaultQuality": "hd720"
    }
});
  </script>