EmbedVideoProviderBase (open)
Base class for video providers for the built-in video widget
Syntax
LOADLIB "mod::publisher/lib/embedvideo.whlib";
OBJECTTYPE EmbedVideoProviderBase
Functions
- RECORD FUNCTION DescribeVideo(STRING videoid)
- RECORD ARRAY FUNCTION EnrichVideos(RECORD ARRAY invideos)
- STRING FUNCTION GetIcon()
Get the tollium icon to use in widget previews
- STRING FUNCTION GetIFramePlayerURL(STRING videoid)
- STRING FUNCTION GetTitle()
Get the provider title
- BOOLEAN FUNCTION IsAllowedToUse(OBJECT context)
- RECORD ARRAY FUNCTION Search(STRING keywords, INTEGER maxresults)