The integration kit will be self-explanatory showcasing a full kdp-javascript communication as well as all docs related to the KDP 3.x javascript APIs.
For best practices, download the kit, set it up on your local server and use as reference.
KDP 3 and JavaScript integration demo
Web page integration KDP doc
The files in the kit
- kdp3.swf - A compiled instance of KDP 3.0.2
- kdp3.html - An html page hosting the kdp3.swf, showing JavaScript integration with KDP 3.x
- config.xml - Sample uiConf XML, representing a standard layout setting of a media player. Note that there are sections in comments that can be enabled to see additional plugins and components like playlist, ad serving plugins, voting stars, subtitles integration and more.
- plugins folder - This folder contains all the base plugins provided by Kaltura at the time writing this article. These are compiled KDP 3 plugin swf files that can be referenced in the uiConf or via flashvars.
- jslib folder - Set of JavaScript scripts to support the demo like jquery and swfobject - not directly required by KDP.
- assets folder - KDP 3.x introduces an FLA approach to skins, in the assets folder there are two fla files and two swf files compiled from the fla files. These are the skin files loaded by KDP and can be referenced in the uiConf or via flashvars.
| Attachment | Size |
|---|---|
| kdp3-integration-docs.zip | 6.06 MB |




Comments
Integration kit does not work for embedding ks protected videos.
Don't use this kit if you are testing against ks protected videos on current Kaltura SaaS Platform. Guess that 3.0.7 kpd3.swf included is not able to talk with the authentication mecanism on the server and it only plays not protected videos or free previews.
See this forum post.
If you want to test use hosted kdp3 (up to date version) or last kdp3 releases hosted locally (not tested).