Web Behaviours
Specific behaviours associated with browser environments
Configuring Permissions Policy for Embedded iFrames
import { getExperience } from '@monterosa/sdk-launcher-kit';
const experience = getExperience({
// Specify the features to allow in the iframe.
// In this case, enabling fullscreen and picture-in-picture modes.
allow: 'fullscreen; picture-in-picture',
// Set allowFullscreen to true to ensure compatibility
// with fullscreen mode in older browsers
allowFullscreen: true,
});import { getExperience } from '@monterosa-sdk/launcher-kit';
const experience = getExperience({
// Specify the features to allow in the iframe.
// In this case, enabling fullscreen and picture-in-picture modes.
allow: 'fullscreen; picture-in-picture',
// Set allowFullscreen to true to ensure compatibility
// with fullscreen mode in older browsers
allowFullscreen: true,
});Last updated

