From: vincent@cubedesigners.com Date: Mon, 26 Oct 2020 14:13:05 +0000 (+0000) Subject: wip #3977 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=caee7e53181354aab1492de9e86f53126a3b44eb;p=cubeextranet.git wip #3977 @0.5 --- 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 6cae874c6..86cee452c 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -973,7 +973,6 @@ class internalLink extends normalLink { return 'go to page'; } - } class videoLink extends wsHTML5Link @@ -1084,9 +1083,7 @@ class videoPopupLink extends normalLink $this->video_auto_start = true; // Videos should always autoplay $this->video_sound_on = true; $this->video_controls = true; - $this->video_width=1920; - $this->video_height=1080; - return ' data-video="' . rawurlencode(videoLink::makeVideoTag($this, $this->video_width, $this->video_height, $this->compiler)) . '" '; + return ' data-video="' . rawurlencode(videoLink::makeVideoTag($this, null, null, $this->compiler)) . '" '; } public function keep()