code: function(fn) {
          return function(evt, param) {
              var p = TP.getPkg(evt);
              if (p.ytplayer) {
                  var ret = fn(evt, param, p);
                  if (typeof(ret) === "undefined") {
                      ret = p.$player;
                  }
                  return ret;
              }
              return p.$player;
          };
      }
docs: This method is the base method for all the events
  that are bound to the TubePlayer.