Add short videos that can be played by clicking.
The URL of the video to play. Has to start with https://
and has to end with a video extension such as .mp4
.
(Optional)
Let's the user set a customized thumbnail for the video.
This is used to determine how the image is blended with whatever is behind it. The available options are Combine
, Multiply
, and Screen
.
String
; Has to start with https://
and has to end with a video extension such as .mp4
.
feature.get('url')
// returns: "https://..."
feature.set({'url':"https://..."})
""
feature.play()
plays the video
feature.pause()
pauses the video
feature.stop()
stops the video