dist/jquery.tubeplayer.js
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;
        };
    }
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;
        };
    }
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 ; } ; }
This method is the base method for all the events
that are bound to the TubePlayer.
This method is the base method for all the events that are bound to the TubePlayer .