Use CDN version of Video.js Until the Video JS Drupal project supports the CDN version, how can we go about overriding the default URL in a custom theme? It looks like there is a plan to include it in the future but not yet implemented.
You can use the following code in a module, or a theme.

function mymodule_js_alter(&amp;$javascript) {
  if (isset($javascript[$path])) {
    $javascript[$path]['data'] = 'absolute URL to the file';
    $javascript[$path]['type'] = external;
  }
}


Replace $path with the correct value. Normally $path is build from the path where the module is installed with drupal_get_path('module, $module) . '/' $filename.