Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Running...
- Running KalturaSupport::PlayerLoaded
test markup, will be hidden
Access Control Preview embed level ks
View source code of sample KS service
loading ...
Example getting KS via service and used in embed code:
// for example ks service API call see:
// https://github.com/kaltura/mwEmbed/blob/master/modules/KalturaSupport/apiServices/mweApiKSTest.php
$.getJSON( 'YOUR_ENTITLEMENT_CHECK_SERVICE__&entry_id=1_20x0ca3l&wid=_243342', function( ksJSON ){
if( ! ksJSON || ! ksJSON.ks ){
$('#playerTarget').text( 'You may not have permission to view this content');
return ;
}
kWidget.embed( 'playerTarget', {
'wid' : '_243342',
'uiconf_id' : '8145862',
'entry_id' : '0_mjbelixh',
'flashvars':{
'ks' : ksJSON.ks
}
});
});
Example of same player without KS provided
loading ...