setVideo

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.

Parameters

videoUrl

{ String} an absolute URL to the new video.

Returns

None.

Example

<instance>.setVideo("https://s7d9.scene7.com/is/content/Viewers/space_station_360")

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now