Skip to content
Snippets Groups Projects

Issue #3480092: Added fullscreen to allow policy + removed allowfullscreen legacy attribute.

Closed Issue #3480092: Added fullscreen to allow policy + removed allowfullscreen legacy attribute.
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -231,10 +231,10 @@ class IframeDefaultFormatter extends FormatterBase {
$allow[] = 'microphone';
$allow[] = 'payment';
$allow[] = 'picture-in-picture';
$options['allow'] = implode(';', $allow);
if (!empty($item->allowfullscreen)) {
$options['allowfullscreen'] = 'allowfullscreen';
$allow[] = 'fullscreen';
}
$options['allow'] = implode(';', $allow);
if ($this->moduleHandler->moduleExists('token')) {
// Token Support for field "url" and "title".
Loading