====== Kaltura Video Integration (In progress) ====== ===== Requirement ===== Allow content creators to use kaltura video platform in addition to youtube and vimeo. ===== Approach ===== There are two possible ways we can implement this. === 1) Taking the Partner Id and Video Entry ID (Prototyped and Preferred) - === Content creator is asked to provide the partner id of his kultura account and the video entry he wants to embed. Using the kaltura api the video URLs are fectched and they are played with jwplayer on desktop and videojs player on ipad, iphones. == Advantages == 1) We can play videos using jwplayer which means we can use all the plugins written and also the player looks consistent. 2) We have more control of the videos as we have all the video formats available. == Disadvantages == 1) Kaltura does not give their rtmp URLs through the API. This means we can't stream but only progressive download videos. Posted a question on forums and waiting for a response - http://forum.kaltura.org/discussion/467/api-that-gives-all-video-sources-from-entry-id-including-rtmp === Implementation === References - Get all flavours of video URLs from API - http://player.kaltura.com/docs/getSources Source code backup & Demo video - {{:kaultura_video_integration_demo.zip|}} === 2) Video Entry embed code - === Content creator is asked to provide the embed code of the video entry with the player he choses from kaltura KMC. This video is played with kaltura player. == Advantages == 1) User can choose rtmp steaming if he wants to and player tracks some information to kaltura website. == Disadvantages == 1) We need to re write plugins using the js api of kaltura player. Annotations plugin is not possible. 2) Player UI does not look consistent.