You can also change the player configuration manually and force a specific player to use the new Kaltura HTML5 Player V2 version. Use this option when the Upgrade to New Player option is not offered Kaltura (in the Universal studio). You will need to change the player UI Configuration.
Set up and Configure Kaltura V2 Library
Updating to the Kaltura HTML5 Player V2 is an easy operation and requires a few simple steps. This document applies for all releases but for ease of reading we will use v2.23. You can replace the version number with any current version at the time of reading.
Download HTML5 Player for older version of Kaltura Platform
If your Kaltura Platform version is older and doesn’t include the HTML5 studio, then the method above is not good for you and you need to change KMC configuration and re-deploy the KMC.
Check your KMC version in the base.ini configuration file. The KMC version is defined at kmc_version config.
vim /opt/kaltura/app/configurations/base.ini
This post applies for all KMC versions, but for ease of reading we will use v5.37.17.
Open the configuration file of the KMC.
vim /opt/kaltura/web/flash/kmc/v5.37.17/config.ini
Search for ‘html5′ string in the file and replace the HTML5 version with the new Kaltura HTML5 Player V2 version. Save the file.
Re-deploy the KMC:
php /opt/kaltura/app/deployment/uiconf/deploy_v2.php –ini=/opt/kaltura/web/flash/kmc/vX.XX.XX/config.ini
Clear the Kaltura cache and restart Apache:
php /opt/kaltura/app/alpha/scripts/clear_cache.php
sudo /etc/init.d/httpd restart.
You can follow the below procedure but I cannot guarantee that it will work correctly nor can I officially provide support for it. Like I said, the best route to take would be the upgrade the entire server. If you still want to try it, you’re welcome to do so.
Edit the html5_version in /opt/kaltura/app/configurations/local.ini and set it to v2.69.5
KMC_PATH=`ls -ld $BASE_DIR/web/flash/kmc/v* 2>/dev/null|awk -F " " ‘{print $NF}’ |tail -1`
edit $KMC_PATH/config.ini and set all .*.html5_version directives to v2.69.5
run php $BASE_DIR/app/deployment/uiconf/deploy_v2.php --ini=$KMC_PATH/config.ini
reload Apache
Create a new player from KMC->Studio and ensure everything loads correctly and that an entry can be played.
If so, you can then upgrade the existing players by issuing this update statement:
echo 'update ui_conf set html5_url = "/html5/html5lib/v2.69.5/mwEmbedLoader.php" where html5_url like "%html5lib/v2.%/mwEmbedLoader.php"'|mysql -h$DB1_HOST -u $SUPER_USER -p$SUPER_USER_PASSWD -P$DB1_PORT $DB1_NAME
I can’t load HTML5 Player after running update. I wonder if you could advice. Thank you.
kaltura-html5lib ver in KMC config.ini] [FAILED, RC: 1] - [.082682431]
[kaltura-kdp3 ver in KMC config.ini] [PASSED, RC: 0] - [.040278962]
ERR: exception ‘Exception’ with message ‘Error updating drop folder [13] - The usage of feature [dropFolder] is forbidden’ in /client/kaltura/app/infra/log/KalturaLog.php:82
changed to $wgHTTPProtocol = ‘https’; and changed back to original
PHP Parse error: syntax error, unexpected ‘^’ in /client/kaltura/web/html5/html5lib/v2.69.5/includes/DefaultSettings.php on line 30, referer: https://mydomain.ca/index.php/kmc/kmc4
Changed from to
$wgKalturaServiceUrl = 'http://cdnapi.kaltura.com’;^M
// if https use cdnsecakmi^M
if( $wgHTTPProtocol == ‘https’ ){^M
$wgKalturaServiceUrl = ‘https://cdnapisec.kaltura.com’;^M
}^M
to
$wgKalturaServiceUrl = 'https://cdnapisec.kaltura.com’;^M
// if https use cdnsecakmi^M
if( $wgHTTPProtocol == ‘https’ ){^M
$wgKalturaServiceUrl = ‘https://cdnapisec.kaltura.com’;^M
}^M
I still have some permissions issues
018-08-10 13:23:45 [0.000740] [172.17.28.91] [474136120] [API] [KalturaStatement->execute] DEBUG: Sql took - 0.00060105323791504 seconds
2018-08-10 13:23:45 [0.001010] [172.17.28.91] [474136120] [API] [KalturaFrontController->getExceptionObject] ERR: exception ‘KalturaAPIException’ with message ‘The usage of feature [dropFolder] is forbidden’ in /client/kaltura/app/plugins/drop_folder/services/DropFolderService.php:16
Stack trace: #0 /client/kaltura/app/api_v3/lib/KalturaActionReflector.php(251): DropFolderService->initService(‘dropfolder_drop…’, ‘dropFolder’, ‘update’)