Skip to main content
All CollectionsWebsite Integration
Global Viewer Configurations
Global Viewer Configurations
Mor Mendelevi avatar
Written by Mor Mendelevi
Updated over a year ago

To globally set Viewer-related properties, you can add the following config to the Dimensions tag init:

const d8sApi = initDimensions({
account: "",
viewers: ["IMAGE", "VIDEO", "3D"],

threeDViewer: {
viewer: {
controls: {
ar: false
}
}
}
});

These will be added to every instance of viewer.

Did this answer your question?