view new/embedded_player.php @ 20:3cbb9e7a359c

Added bottom box for training
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 12 May 2016 18:39:26 +0100
parents 9da74cda0375
children
line wrap: on
line source
<?php
if(isset($_GET['v'])){
  $video_id = $_GET['v'];
} else {
	error('no video ID specified');
}
if(isset($_GET['returnURL'])){
  $returnUrl = $_GET['returnURL'];
} 
unset($_GET['v']); // delete edit parameter;
$qs = http_build_query($_GET);
?>

<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.
<br />
<br />
Once you are done watching the video, click <a href="<?php echo 'test.html?url=hammond/tests/training.xml&'.$qs ?>">here</a> to continue with the training.
</div>
</body>
</html>