ventListener("timeupdate", self.onTimeUpdate);
  player.addEventListener("progress", self.onProgress);
  player.addEventListener("canplaythrough", self.onProgress);

  var vol = parseFloat(getCookie("volume") || .51);
  var muted = getCookie("muted") || "false";

  if (vol) {
    player.volume = vol;
  }
  if (muted == "true") {
    player.muted = muted;
  }

  player.addEventListener("error", function(e) {
    var code = -1;
    if (e.target.error && e.target.error.code) {
      code = e.target.error.code;