Skip to content

Commit

Permalink
soundManager.setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschiller committed Jun 9, 2013
1 parent 1866fb7 commit fbfb76d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,26 @@
*/
-->
<link rel="stylesheet" href="css/survivor.css" />
<!-- see script/soundmanager2.js for full, commented version -->
<script src="script/soundmanager2-nodebug-jsmin.js"></script>
<script>
soundManager.url = 'swf/';
soundManager.useHighPerformance = true;
soundManager.flashVersion = 9;
soundManager.debugMode = false;
soundManager.wmode = 'opaque';
soundManager.bgColor = '#000000';
soundManager.setup({
url: 'swf/',
useHighPerformance: true,
flashVersion: 9,
wmode: 'opaque',
bgColor: '#000000'
});

if (window.location.toString().match(/html5audio=1/i)) {
// try at your own risk - playback may lag, etc.
soundManager.preferFlash = false;
soundManager.setup({
preferFlash: false
});
}
</script>
<script src="script/survivor.js"></script>
<!-- on schillmania.com -->
<script src="/common/stats.js"></script>
</head>

Expand Down

0 comments on commit fbfb76d

Please sign in to comment.