How to use the Thumb Rotator
1 . Download the Kaltura Video Thumbnail Rotator script.
3 . Add the tag where you want the thumbnail to be as follows:
4 . Change the width and height parameters in the thumbnail URL as well as the img tag attributes to suit the dimensions you want the thumbnail to be.
KalturaThumbRotator provide two actions:
KalturaThumbRotator.start(this)- Cancels the current running preview and starts a new one.
KalturaThumbRotator.end(this)- Cancels the current running preview and restores the original thumbnail.
You can adjust the following settings in the Kaltura Thumb Rotator js file:
- slices - The number of thumbnails to pull for the video (default is 16).
- frameRate - The frame rate in milliseconds for changing thumbnails (time to wait between thumbnail replacemnet, default is 1000ms).