Upgrading the kaltura HTML5 player

Upgrading the Kaltura HTML5 Player

This article is about Upgrading the Kaltura HTML5 Player.

HTML5 is a set of web standards being developed by the “Web Hypertext Application Technology Working Group”.

The HTML5 standard includes many new features for more dynamic web applications and interfaces. One such component being specified and implemented is the Kaltura HTML5 Player.

Kaltura upgrades the html 5 player from time to time, fixing bugs and adding features. This post describes upgrading the kaltura html5 player to its latest version.

Getting the player code

The player’s code can be found at http://html5video.org/wiki/Getting_Started_with_Kaltura_HTML5. The current version is 1.7.0.4.

Installing the player

On your kaltura server, open the zip file and copy the contents to /opt/kaltura/html5/html5lib/v1.7.0.4.

Copy the LocalSettings.KalturaPlatform.php to LocalSettings.php and edit it as follows:

Comment the kConf->get calls and insert your kaltura server url instead of ‘my-kaltura-site.com’ as shown in the following lines:


// Kaltura HTML5lib Version
$wgKalturaVersion = basename(getcwd()); // Gets the version by the folder name

// The default Kaltura service url:
$wgKalturaServiceUrl = $wgHTTPProtocol . '://' . 'my-kaltura-site.com'; //$kConf->get('cdn_api_host');
// Default Kaltura CDN url:
$wgKalturaCDNUrl = $wgHTTPProtocol. '://' . 'my-kaltura-site.com'; //$kConf->get('cdn_host');
// Default Stats URL
$wgKalturaStatsServiceUrl = $wgHTTPProtocol. '://' . 'my-kaltura-site.com'; //$kConf->get('stats_host');

// SSL host names
if( $wgHTTPProtocol == 'https' ){
 $wgKalturaServiceUrl = $wgHTTPProtocol . '://' . 'my-kaltura-site.com'; //$kConf->get('cdn_api_host_https');
 $wgKalturaCDNUrl = $wgHTTPProtocol. '://' . 'my-kaltura-site.com'; //$kConf->get('cdn_host_https');
 $wgKalturaStatsServiceUrl = $wgHTTPProtocol. '://' . 'my-kaltura-site.com'; //$kConf->get('stats_host_https');
}

Now edit the /opt/kaltura/app/alpha/config/kConf.php file and change the html5_version to ‘v1.7.0.4’:

                                "kdp3_wrapper_version" => 'v34.0',
                                "html5_version" => 'v1.7.0.4',
                                "clipapp_version" => 'v1.0.1',

Your HTML5 player is now at the latest version! We also wrote about upgrading the Kaltura Dynamic Player (KDP).