-
Notifications
You must be signed in to change notification settings - Fork 3
/
audio.html
65 lines (60 loc) · 1.92 KB
/
audio.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Audio Sandbox</title>
<link rel="stylesheet" type="text/css" href="css/nyump.css"/>
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript">
window.Aria = {
rootFolderPath: window.location.href.indexOf('sandbox') != -1 ? '/sandbox/lib/' : '/lib/'
};
var loadScript = function (src) {document.write('<scr' + 'ipt type="text/javascript" src="'+Aria.rootFolderPath + src+'"></scri' + 'pt>');}
loadScript('aria/aria-templates-1.1-24.js');
loadScript('buzz/buzz.js');
loadScript('Stats.js');
</script>
<style >
html, body {
background-color : #1c1c1c;
background-image : url('resources/img/sitebg.png');
}
@font-face {
font-family: 'Game';
src: url('resources/font/prophit_cell/V5PRC___.TTF');
}
</style>
</head>
<body>
<div id="gameContainer" class="basic-container" style="font-family:Game"></div>
<script type="text/javascript">
var dev = window.location.href.indexOf('localhost') != -1;
if (dev) {
aria.core.DownloadMgr.updateRootMap({
aria : {
"*" : '/lib/'
},
"*" : ""
});
// Force clean cache for AT classes
var bkpGetURLWithTimestamp = aria.core.DownloadMgr.getURLWithTimestamp;
aria.core.DownloadMgr.getURLWithTimestamp = function (url, force) {
return bkpGetURLWithTimestamp.apply(aria.core.DownloadMgr, [url, true]);
};
} else {
aria.core.DownloadMgr.updateUrlMap({
games : {
"**" : "games.js"
}
});
}
Aria.load({
classes : ['games.audio.AudioLoader'],
oncomplete : function () {
new games.audio.AudioLoader("gameContainer");
}
});
</script>
</div>
</body>
</html>