summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/rickroller_bare/customfiles/www/index.html
blob: 46bd7c3370f105cf61d653983908980d844598ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html>
<head>
<title>RickRoll'D</title>
</head>
<body >
<center>
    <h1 style='font-size:400%'>RickRoll'D</h1>
    <img src='rick.gif' width="50%"><br/>
    <audio controls id="audio" autoplay loop >
        <source src="rick.ogg" type="audio/ogg" ></source>
    </audio>
</center>
<script>
    //try various hacks to get autorun and looping working
var audio = document.getElementById('audio');
audio.addEventListener('ended', function(){
    this.currentTime = 0;
}, false);
    audio.addEventListener('canplay', function() {
        audio.play();
    });
    audio.load();
    audio.play();
</script>
<img src="/cgi-bin/rrhelper">
</body>
</html>