setVideo setvideo
JavaScript API reference for Video Viewer
setVideo(videoUrl[, data])
Sets new external video and optional additional video data. Can be called at any time, both before and after init()
. If called after init()
, the viewer swaps the video in run time.
See also init.
Parameters section-b6affc90b3a84584b684641c86862e01
Returns section-1d3cf85bc7cc4dfe9670e038d02b9101
None.
Example section-9e9332aa86b74a5fb321375c03fdc5b3
<instance>.setVideo("https://s7d9.scene7.com/is/content/Scene7SharedAssets/Glacier_Climber_MP4")
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8