mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-02-14 23:01:21 +00:00
Vidéos Google Drive en plein écran
This commit is contained in:
parent
788f759459
commit
0d0d82a878
@ -308,7 +308,7 @@ function displayVideo($link)
|
|||||||
$code = $matches[3];
|
$code = $matches[3];
|
||||||
/** @noinspection HtmlDeprecatedAttribute */
|
/** @noinspection HtmlDeprecatedAttribute */
|
||||||
/** @noinspection HtmlDeprecatedTag */
|
/** @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)) {
|
elseif (preg_match("#(https?://|)(www\.|)vimeo\.com/([0-9]*)#", $link, $matches)) {
|
||||||
$code = $matches[3];
|
$code = $matches[3];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user