Cattura SourceToggle for Kaltura's Universal Player
This Cattura plugin enables the user to switch between multi-source videos delivered to the Kaltura Platform through our CaptureCast™ Pro product. It will also keep position through each switch. Keep in mind that this is for the Universal Player only.
*This updated plugin works reliably on Safari, Chrome and Internet Explorer on Mac, Windows and Linux computers. On all platforms Firefox has been inconsistent and may not keep the playhead’s position on each source switch. We are still working with Kaltura to get this working 100% across all browsers and platforms and has been accepted as a bug in their ticketing system..
Step 1 : Player
Log into your Kaltura KMC account.
Create or Edit an existing Player (Universal Only)
a. To find the Universal Player click "Studio"
b. Under the Kaltura Logo to the left of the screen you will find the "Universal" player
On the left hand navbar look for the electric plug name ... plugins
On this new window click on the "Ui Variables" label
Click "[add]" 9 times to create 9 "key" and "value" pairs
Fill these 9 "key and 'value' pairs in with thier repective values as per the table below.
Step2 : Transcoding
Click on "Settings" tab on the top menu
Click on "Transcoding Settings"
Checkmark "WebM" Conversion flavor
Click the "Save Changes" button at the bottom of the page.
This will only transcode new files not prexisting ones. To transcode those checkout Issue#3 under "Kaltura Instance Confilcts and Solutions" below.
Step 3 : Embeding
After Step 1 and 2 go to the 'content' page and select "preview and embed" under actions on the video you wish to embed.
Make sure to select new player
Make sure Delivery Type is "HTTP Progressive Download"
Make sure Embed type is "Auto" or "Dynamic"
Then you are ready to Embed.
- Click on the Camera Icon and dropUP will appear. Which contains thumbnails of the video and its title.
- Click on the thumbnail/title to switch to that media.
- A magenta tab will appear on the right hand side of the current playing video.
- Hovering over a media entry will highlight said source
- Clicking on an already playing media source will do nothing.
- If the camera icon has a red slash through it the plugin is unavailable due to this video being a single source entry.
The Kaltura HTML5 v2 player must play for ~1 second after the switch before it is able to seek to the correct position *
Non-Cattura captures being played with this plugin will not switch. Single source should be fine but multisouce will not work. Cattura will not support this plugin for Non-Cattura uploads.
*This is a known Kaltura issue and tickets have been issued.
Kaltura Instance Confilcts and Solutions
Issue #1: Broken thumbnails
If videos are not populating the dropUp (ie. failed thumbnails and switches).
First and formost make sure all sources are uploaded and presetn. Else please do the following:
Go to Settings -> Integration Settings.
Look for the section "Entitlement Settings". It should be on the lower left hand corner.
Remove (if it exists) the "cattura perspectives" entitlement.
Click "Save Settings"
Issue #2 Working with Non-Cattura Uploads
If you are using the Cattura Plugin and Non-Cattura Uploads the switcher will not work.
As a possible work around:
Download and Install Kaltura's Client Side API
Under tha "main media" file find the 'partnerData' variable it should be null
Make an array of ids filled with the videoIds you wish to associate. i.e. ['i_eidn33','i_ewen23',...]
Set "partnerData" to that array
Again this is not supported by Cattura and is not guaranteed to work.
Issue #3 Inconsistance switching and failing to seek
Make sure you have completed the "Setup Step 2 : Transcoding" section.
If that is done. Go to the "Content" page.
From there select the source link. A modal will appear titled "Edit Entry"
Click on "flavors" on the left hand side.
Make sure 'WebM' is one of the transcoding flavors.
If not find "WebM" then go to the right hand side and select convert under its actions.
Repeat steps 3 to 6 for all sources/videos associated with that multisource capture.
1.5.0: Irish Setter Gold (10/20/2014)
- Added Kaltura spinner to smooth out transitions between swtiches
- Fixed race conditions such that video will switch properly each time.
- Will now work on Chrome, Safari, and Internet Explorer on Mac, Windows and Linux. **Firefox has been inconsistent and may not keep position on each switch.
1.0.2: Sheepdog Copper
- Plugin fails when playing a Non-Cattura Uploaded video. This should be fixed now but will not handle multisource only single source.
1.0.1: Dalmatian Silver
- When using with a single video the player should not crash now.
1.0.0: Mercury Boxer
- Initial release
Copyright (c) 2013 Cattura Video
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPY