Vidéos Google Drive en plein écran

This commit is contained in:
Yohann 2020-01-02 00:51:23 +01:00
parent 788f759459
commit 0d0d82a878
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ function displayVideo($link)
$code = $matches[3];
/** @noinspection HtmlDeprecatedAttribute */
/** @noinspection HtmlDeprecatedTag */
echo "<center><iframe width=\"854px\" height=\"480px\" src=\"https://drive.google.com/file/d/$code/preview\" ></iframe></center><br />\n";
echo "<center><iframe width=\"854px\" height=\"480px\" src=\"https://drive.google.com/file/d/$code/preview\" allowfullscreen></iframe></center><br />\n";
}
elseif (preg_match("#(https?://|)(www\.|)vimeo\.com/([0-9]*)#", $link, $matches)) {
$code = $matches[3];