Video
Add short videos.
Videoâ
Add short videos that can be played by clicking.

Editorâ

URLâ
The URL of the video to play. Has to start with https:// and has to end with a video extension such as .mp4.
Image previewâ
(Optional) Let's the user set a customized thumbnail for the video.
Blend modeâ
This is used to determine how the image is blended with whatever is behind it. The available options are Combine, Multiply, and Screen.
Scripting Propertiesâ
Scripting Properties {.tabset}â
urlâ
String; Has to start with https:// and has to end with a video extension such as .mp4.
get()â
feature.get('url')
// returns: "https://..."
set()â
feature.set({'url':"https://..."})
defaultâ
""
previewUrlâ
String; Links must be https:// and must either be a .png,.gif,.jpg.
get()â
feature.get('previewUrl')
// returns: "https://..."
set()â
feature.set({'previewUrl':"https://..."})
defaultâ
""
typeâ
String;
get()â
feature.get('type')
/* or */
feature.type
// returns: 'video'
Scripting methodsâ
Scripting methods {.tabset}â
play()â
feature.play()
plays the video
pause()â
feature.pause()
pauses the video
stop()â
feature.stop()
stops the videos