public static function videojs_utility::getCdnVersion in Video.js (HTML5 Video Player) 7.3
Returns the configured CDN version or a default version if none is set.
Return value
string The CDN Video.js player version
3 calls to videojs_utility::getCdnVersion()
- videojs_get_path in ./
videojs.module - Return the configured path or URL of Video.js.
- videojs_get_version in ./
videojs.module - Return the version of Video.js installed.
- videojs_settings_form in includes/
videojs.admin.inc - Menu callback; Provides the Video.js settings form.
File
- includes/
videojs.utility.inc, line 298 - This file will be used to keep all utility functions.
Class
- videojs_utility
- Helper functions for the Video.js module.
Code
public static function getCdnVersion() {
$cdnversion = variable_get('videojs_cdn_version', NULL);
if (empty($cdnversion)) {
$cdnversion = '6.0.0';
}
return $cdnversion;
}