Attributes
Explanation on the iframe attributes used by Vulp.
Required attributes
The Vulp iframe embed uses a small number of attributes that are required to obtain the full functionality.
Allow attribute
xr-spatial-tracking
The xr-spatial-tracking
value is inside the allow
attribute in order to enable fast rendering of 3D models.
fullscreen
The fullscreen
value is inside the allow
attribute such that it is possible to add fullscreen functionality in the future. It is not strictly required at the moment.
web-share
The web-share
value is inside the allow
attribute in order to facilitate easy sharing of the model.
clipboard-write
The clipboard-write
value is inside the allow
attribute in order to facilitate easy copying of the model URL.
Referrer-policy attribute
no-referrer-when-downgrade
The no-referrer-when-downgrade
referrer policy is required to obtain the URL of the parent page such that Vulp can show a QR-code to that page.