ThumbnailComponent
class ThumbnailComponent
Thumbnail Component Plugin.
This plugin facilitates displaying preview thumbnail
The main code to be implemented from this class:
ThumbnailComponent thumbnailComponent = new ThumbnailComponent(brightcoveVideoView);
thumbnailComponent.setupPreviewThumbnailController();
...
Content copied to clipboard
If you are also using the SSAI plugin, you will need additional setup to account for the gap between the absolute and relative playhead position introduced by the Ad breaks.
eventEmitter.once(AD_DATA_READY, event -> {
Timeline timeline = event.getProperty(SSAIEvent.VMAP_TIMELINE, Timeline.class);
thumbnailComponent.setThumbnailDocumentCreator(
new SSAIThumbnailDocumentCreatorWrapper(new DefaultThumbnailDocumentCreator(), timeline)
);
});
Content copied to clipboard
Constructors
Functions
Link copied to clipboard
Gets the PreviewLoader responsible to download the images and load them into the Thumbnail View.
Link copied to clipboard
Returns the ThumbnailDocumentCreator
Link copied to clipboard
Sets a PreviewLoader responsible to download the images and load them into the Thumbnail View.
Link copied to clipboard
Sets the ThumbnailDocumentCreator for creating the ThumbnailDocument
Link copied to clipboard
Sets the PreviewThumbnailFormatSelector, used to select a PreviewThumbnailFormat to create our ThumbnailDocument.
Link copied to clipboard
Finish setting up the component to support Preview Thumbnail scrubbing.