aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/watch/youtube.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-11-07 03:19:39 +0100
committerSem <sembrestels@riseup.net>2013-11-07 03:19:39 +0100
commit24e097f126aee59206c7f44e2b37b915d85dfd23 (patch)
tree3bdcc75975898262d364454ef15b36a62cfb0840 /views/default/videolist/watch/youtube.php
parent5a051b09c63a5d2b58e4cd7d93cdf747181a60b1 (diff)
downloadelgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.gz
elgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.bz2
Setting responsive dimensions.
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>";