Template:Which Side Of The Iframe

Which side of the player?
The first question you have to ask when developing a player plugin is whether your plugin should be on loaded inside the player as a native plugin OR on the hosting page side communicating through the kdp and kWidget API.

Kaltura OnPage Plugins are loaded for both flash and HTML5 players and only have to be written once. On-page plugins are loaded on the same page of the player and they interact with the player with the Kaltura kdp api.

Kaltura HTML5 iframe plugins run inside the iframe side of player and have lower level access to the video tag and internal html5 events. Any plugins written as an iframe plugin will have to be written twice once for the html5 player and once for the swf player (see Creating KDP3 Flash plugins). In-Player plugins are good for visual plugins, skins, and ads where the plugin needs to control the playback sequence or modify the streaming functionality (e.g. peer 2 peer plugins).

On-Page plugins are good for anayltics or secondary interaction widgets such as searching transcripts, synced html content (slides, commentary, etc). A great example (and blue-print) for On-Page plugins is the Video Details Block On-Page player plugin.