Browse Source

Bugfix: Fix full screen for embedded videos

pull/2991/head
rabuzarus 4 years ago
parent
commit
5ca93d0541
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/oembed.php

+ 1
- 1
include/oembed.php View File

@ -261,7 +261,7 @@ function oembed_iframe($src, $width, $height) {
$width = '100%';
$s = App::get_baseurl() . '/oembed/'.base64url_encode($src);
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" allowfullscreen scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
}


Loading…
Cancel
Save