Skip to Content

vimeoTracking()

Track Vimeo videos.

JavaScript July 2, 2019

Usage

This function runs automatically, so it is not called manually. Is this incorrect?

Source File

Located in /assets/js/nebula.js on line 4830.

JavaScript
nebula.vimeoTracking = function(){
    //Load the Vimeo API script (player.js) remotely (with local backup)
    if ( jQuery('iframe[src*="vimeo"], .lazy-vimeo').length ){
        nebula.loadJS(nebula.site.resources.scripts.nebula_vimeo, function(){
            nebula.createVimeoPlayers();
        });
    }
};

Override

To override or disable this JavaScript function, simply redeclare it with the exact same function name.

JavaScript
nebula.vimeoTracking = function(){
    //Write your own code here, leave it blank, or return false.
}