diff options
Diffstat (limited to 'views/default/videolist/watch/youtube.php')
-rw-r--r-- | views/default/videolist/watch/youtube.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/videolist/watch/youtube.php b/views/default/videolist/watch/youtube.php new file mode 100644 index 000000000..4b62aabbc --- /dev/null +++ b/views/default/videolist/watch/youtube.php @@ -0,0 +1,7 @@ +<?php + +$video_id = $vars['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>"; |