To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / embedded_player.php

History | View | Annotate | Download (792 Bytes)

1
<?php
2
if(isset($_GET['v'])){
3
  $video_id = $_GET['v'];
4
} else {
5
        error('no video ID specified');
6
}
7
if(isset($_GET['returnUrl'])){
8
  $returnUrl = $_GET['returnUrl'];
9
} else {
10
}
11

    
12
?>
13
<html>
14
<head></head>
15
<body style="text-align: center">
16

    
17
<iframe width="672" height="378" src="https://www.youtube.com/embed/<?php echo $video_id ?>" frameborder="0" allowfullscreen></iframe>
18
<div style="text-align: left; margin: auto; margin-top: 10px; width: 80%; min-width: 500px; max-width: 800px;">
19
Watch the video above to learn more about the characteristics of the sounds produced by the Hammond organ.
20
This will serve as a training for the rest of the listening test.
21
Once you are done watching the video, click <a href="<?php echo $returnUrl?>">here</a> to continue with the test.
22
</div>
23
</body>
24
</html>