1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-05 02:06:52 +00:00

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

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];