JavaScript API reference for Video360 Viewer
setVideo(videoUrl)
Sets new external video. 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.
videoUrl |
{ String} an absolute URL to the new video. |
None.
<instance>.setVideo("https://s7d9.scene7.com/is/content/Viewers/space_station_360")