From 500384139bbfd2e19e108ea254a611e5777ab39f Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 4 Nov 2020 11:17:51 +0000 Subject: [PATCH] wait #4043 @0:10 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index be946cc34..bf77e0494 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1205,7 +1205,7 @@ class webVideoLink extends videoLink public function getHTMLContent() { - if ($this->video_service !== 0) { + if ($this->video_service != 0) { return self::getEmbed($this); } @@ -1243,8 +1243,8 @@ class webVideoLink extends videoLink public static function makeVideoTag($link, $width, $height, $compiler) { - if ($link->video_service === 0) { - return videoLink::makeVideoTag($link, $width, $height, $compiler); + if ($link->video_service == 0) { + return parent::makeVideoTag($link, $width, $height, $compiler); } return self::getEmbed($link); } @@ -1773,6 +1773,8 @@ class webVideoPopupLink extends videoPopupLink public function getURL() { switch ($this->video_service) { + case 0: // Dailymotion + return '#/webvideo/youtube/' . $this->to; case 1: // Dailymotion return '#/webvideo/dailymotion/' . $this->to; case 2: // Vimeo -- 2.39.5