clappr / clappr-level-selector-plugin

Clappr Level Selector Plugin
MIT License
76 stars 56 forks source link

Cannot see HD icon anymore #8

Closed tarkanlar closed 8 years ago

tarkanlar commented 8 years ago

After updating to latest clappr (2.1.8) and level selector (0.1.0) i cannot see HD next to selector anymore

leandromoreira commented 8 years ago

@tarkanlar can you check if this issue still exists? I tested it on http://cdn.clappr.io/

function load(){
  var playerElement = document.getElementById("player-wrapper");

  var player = new Clappr.Player({
    source: 'http://www.streambox.fr/playlists/x36xhzz/x36xhzz.m3u8',
    poster: 'http://clappr.io/poster.png',
    mute: true,
    height: 360,
    width: 640,
      plugins: {
      core: [LevelSelector]
    }
  });

  player.attachTo(playerElement);
}

var script = document.createElement('script')
script.setAttribute("type", "text/javascript")
script.setAttribute("async", "async")
script.setAttribute("src", "http://cdn.jsdelivr.net/clappr.level-selector/latest/level-selector.min.js")
script.onload = load
script.onerror = function(e){alert(e)}
document.body.appendChild(script)
tarkanlar commented 8 years ago

Hey @leandromoreira i've tried, working perfectly. Thanks