Kaltura player supports the loading of preview thumbnails using VTT files,
NOTE: The urls specified in the WebVTT file are relative to the vtt file address.
var kalturaPlayer = KalturaPlayer.setup(playerConfig);
kalturaPlayer.loadMedia(
{entryId: '0_wifqaipd'},
{
thumbnails: {
vttUrl: 'https://somedomain/media/thumbnails/thumbnails.vtt'
}
}
);
var kalturaPlayer = KalturaPlayer.setup(playerConfig);
kalturaPlayer.setMedia({
plugins: {...},
sources: {
options: {},
thumbnails : {
vttUrl: 'https://somedomain/media/thumbnails/thumbnails.vtt',
}
}
});
00:05.000 --> 00:10.000
/assets/preview2.jpg
The Player will render the thumbnails in the tooltip using their original dimensions. Thumbnails of 100-150 pixels wide tend to work well. Smaller thumbnails are hard to decipher and larger thumbnails are too much of a distraction to the main content.
00:00:00.000 --> 00:00:10.000
/preview/sprite.png#xywh=0,0,128,72
NOTE: The Player only supports pixel-based fragments, not percentage-based ones.
Kaltura player supports the loading of preview thumbnails using image file.
ui: {
components: {
seekbar: {
thumbsSprite: "https://images_url",
}
}
}