diff embedded_player.php @ 0:d2eb0e6ccaaf

initial commit
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 20 Apr 2016 16:26:57 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/embedded_player.php	Wed Apr 20 16:26:57 2016 +0100
@@ -0,0 +1,24 @@
+<?php
+if(isset($_GET['v'])){
+  $video_id = $_GET['v'];
+} else {
+	error('no video ID specified');
+}
+if(isset($_GET['returnUrl'])){
+  $returnUrl = $_GET['returnUrl'];
+} else {
+}
+
+?>
+<html>
+<head></head>
+<body style="text-align: center">
+
+<iframe width="672" height="378" src="https://www.youtube.com/embed/<?php echo $video_id ?>" frameborder="0" allowfullscreen></iframe>
+<div style="text-align: left; margin: auto; margin-top: 10px; width: 80%; min-width: 500px; max-width: 800px;">
+Watch the video above to learn more about the characteristics of the sounds produced by the Hammond organ.
+This will serve as a training for the rest of the listening test.
+Once you are done watching the video, click <a href="<?php echo $returnUrl?>">here</a> to continue with the test.
+</div>
+</body>
+</html>
\ No newline at end of file