aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/watch/youtube.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/videolist/watch/youtube.php')
-rw-r--r--views/default/videolist/watch/youtube.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/videolist/watch/youtube.php b/views/default/videolist/watch/youtube.php
index e0b2ece06..b0b758718 100644
--- a/views/default/videolist/watch/youtube.php
+++ b/views/default/videolist/watch/youtube.php
@@ -1,7 +1,5 @@
<?php
$video_id = $vars['entity']->video_id;
-$width = $vars['width'];
-$height = $vars['height'];
-echo "<iframe width=\"$width\" height=\"$height\" src=\"https://www.youtube-nocookie.com/embed/$video_id\" frameborder=\"0\" allowfullscreen></iframe>";
+echo "<iframe src=\"https://www.youtube-nocookie.com/embed/$video_id\" frameborder=\"0\" allowfullscreen></iframe>";