Skip to content

Commit fe08afe

Browse files
authored
Merge pull request #268 from itk-dev/feature/video-fullscreen-fix
LOOP-1132: Added fullscreen attribute
2 parents 2c8e5fc + 9b55ded commit fe08afe

File tree

1 file changed

+1
-1
lines changed
  • web/profiles/custom/os2loop/modules/os2loop_oembed/src/TwigExtension

1 file changed

+1
-1
lines changed

web/profiles/custom/os2loop/modules/os2loop_oembed/src/TwigExtension/TwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private function createVideoFromUrl($text): array {
180180
// If oembed is not an option create iframe from a url.
181181
elseif ('custom' === self::ALLOWED_PROVIDERS[$url['host']]['type']) {
182182
$video['custom']['src'] = $text;
183-
$video['iframe'] = '<iframe src="' . $text . '"></iframe>';
183+
$video['iframe'] = '<iframe allow="fullscreen" src="' . $text . '"></iframe>';
184184
}
185185
}
186186
}

0 commit comments

Comments
 (0)