diff options
Diffstat (limited to 'www/youtube.php')
| -rw-r--r-- | www/youtube.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/youtube.php b/www/youtube.php index 8282ba0..866ffea 100644 --- a/www/youtube.php +++ b/www/youtube.php @@ -21,13 +21,15 @@ if(!isset($_GET["id"])){ <body vlnk='#5b5b5b' vlink='#000000' link='#000000' alink='#9a9696'> <center> -<?php include("header.php"); ?> +<?php +$new_id = start($yt); +include("header.php"); +?> <h1>A random youtube video!</h1> <br> <iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo $videoID ?>" frameborder="0" allowfullscreen></iframe> <br><br> <?php -$new_id= start($yt); echo "<a href=\"/youtube?id=".$new_id."\">Get another one</a>"; ?> |
