ar padding = 380;

    } else {

      var padding = 215;

    }

    var height;
    if (h > window.innerHeight - padding) {
      height = window.innerHeight - padding;
      var MIN_HEIGHT = 140;
      var minHeight = h < MIN_HEIGHT ? h : MIN_HEIGHT;
      if (height < minHeight) {
        height = minHeight;
      }
    } else {
      height = h;
    }
    var width = w / h * height;
    if (width > 800 && window.innerWidth < 1200) {
      width = 800;
    }
    document.getElementById('player-content')