]> _ Git - cubeextranet.git/commitdiff
wip #3977 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Oct 2020 14:13:05 +0000 (14:13 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Oct 2020 14:13:05 +0000 (14:13 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 6cae874c612fa3c566027c9ea1dea1ee7b6007b2..86cee452c12e1226033c7444383314a55b02a58d 100644 (file)
@@ -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()