summaryrefslogtreecommitdiff
path: root/youtube.php
diff options
context:
space:
mode:
Diffstat (limited to 'youtube.php')
-rw-r--r--youtube.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/youtube.php b/youtube.php
new file mode 100644
index 0000000..a185b99
--- /dev/null
+++ b/youtube.php
@@ -0,0 +1,23 @@
+<?php
+
+require_once("func_youtube.php");
+require_once("func.php");
+
+$vid = start($yt);
+
+?>
+<div class="row">
+<h3><?php echo get_yt_title($vid);?></h3>
+</div>
+<br>
+<div class="row">
+<iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo $vid ?>" frameborder="0" allowfullscreen></iframe>
+<br>
+<br>
+<p>Blocked in your country or want to download? Try <a href="/video/<?php echo $vid; ?>" title='Get more information about this video.' >this</a>!</p>
+<p><a href="#" onclick="get_random_video()" class="mail" title="Press 'R' to get another video">Get another one</a></p>
+</div>
+
+<?php /*
+<p><a href="/video/<?php echo $vid; ?>" class='mail'>Download</a> this video! | Blocked in your country? Try <a href="/video/<?php echo $vid; ?>" class='mail'>this</a>!</p>
+*/ ?>