Integrate Kaltura enterprise video playback, live streaming, AirPlay, and Google Chromecast natively into your mobile app.
Integrate Kaltura's enterprise media player natively into your mobile app to stream live broadcasts and on-demand video content. The native player includes hardware-accelerated playback with built-in AirPlay (iOS) and Google Chromecast (Android) casting support.
Kaltura is a widely adopted, enterprise-grade video platform used by global organizations for high-quality video playback, content management, monetization, and analytics. Nativine embeds native Kaltura Player SDKs into your app binary:
To trigger video playback programmatically from your website JavaScript code, call the nativine.kaltura.play() bridge function:
nativine.kaltura.play({
entryId: '1_abcd1234',
onError: 'handlePlaybackError',
callback: 'handlePlaybackStart'
});
| Parameter | Type | Description |
|---|---|---|
entryId |
string | Required. The unique Kaltura video identifier from your Kaltura CMS. |
onError |
string | Optional. Name of a global JavaScript function to be called if playback fails. |
callback |
string | Optional. Name of a global JavaScript function to run when playback starts successfully. |
function handlePlaybackError(error) {
console.error("Kaltura playback error:", error);
alert("Failed to play video. Please try again.");
}
function handlePlaybackStart() {
console.log("Kaltura video stream is now playing natively.");
}
function launchVideo(kalturaEntryId) {
if (window.nativine && window.nativine.kaltura) {
nativine.kaltura.play({
entryId: kalturaEntryId,
onError: 'handlePlaybackError',
callback: 'handlePlaybackStart'
});
} else {
console.warn("Nativine Kaltura bridge not available in browser mode.");
}
}
Yes. When enabled in the builder, the native Kaltura video controller renders the AirPlay route button automatically when an Apple TV or AirPlay-compatible smart display is detected on the local network.
Yes. The success callback passes playback events back to your JavaScript, allowing you to trigger custom analytics events in Google Analytics or Firebase.