Show Menu
TOPICS×

setAsset

JavaScript API reference for Video360 Viewer.
setAsset(asset)
Sets the new asset. You can call this parameter at any time, either before or after init() . If it is called after init() , the viewer swaps the asset at runtime.
See also init .
asset
{ String } new asset ID.

Returns

None.

Example

<instance>.setAsset("Viewers/space_station_360-AVS")