diff options
| author | root | 2014-09-13 22:26:58 +0200 |
|---|---|---|
| committer | root | 2014-09-13 22:26:58 +0200 |
| commit | c5639ee890215e4e8e0f544821ea8d285ca58eb8 (patch) | |
| tree | 29f685943c61c4d7ec0e376e485686e985b97065 /youtube.php | |
| parent | f8c60cae423fc78ed21d17a9217716ccc1e6dab1 (diff) | |
| download | video-dl-c5639ee890215e4e8e0f544821ea8d285ca58eb8.tar.gz | |
init
Diffstat (limited to 'youtube.php')
| -rw-r--r-- | youtube.php | 23 |
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> +*/ ?> |
