mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-26 03:27:33 +00:00
77 lines
2.7 KiB
HTML
77 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>SoundManager 2 Demo: Play MP3 links on a page, "page as playlist" style</title>
|
|
<style type="text/css">
|
|
#soundmanager-debug {
|
|
/* SM2 debug container (optional, makes debug more useable) */
|
|
position: absolute;
|
|
position: fixed;
|
|
*position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
width: 50em;
|
|
height: 18em;
|
|
overflow: auto;
|
|
background: #fff;
|
|
margin: 1em;
|
|
padding: 1em;
|
|
border: 1px solid #999;
|
|
font-family: "lucida console", verdana, tahoma, "sans serif";
|
|
font-size: x-small;
|
|
line-height: 1.5em;
|
|
opacity: 0.9;
|
|
filter: alpha(opacity = 90);
|
|
z-index: 99;
|
|
}
|
|
|
|
body {
|
|
font: 75% normal verdana, arial, tahoma, "sans serif";
|
|
}
|
|
</style>
|
|
<link rel="stylesheet" type="text/css"
|
|
href="http://www.schillmania.com/projects/soundmanager2/demo/page-player/css/page-player.css"/>
|
|
<!-- soundManager.useFlashBlock: related CSS -->
|
|
<link rel="stylesheet" type="text/css"
|
|
href="http://www.schillmania.com/projects/soundmanager2/demo/flashblock/flashblock.css"/>
|
|
<script type="text/javascript"
|
|
src="http://www.schillmania.com/projects/soundmanager2/script/soundmanager2.js"></script>
|
|
<script type="text/javascript"
|
|
src="http://www.schillmania.com/projects/soundmanager2/demo/page-player/script/page-player.js"></script>
|
|
<script type="text/javascript">
|
|
soundManager.setup({
|
|
url:'bin/sm/',
|
|
debugMode: true,
|
|
consoleOnly: false
|
|
});
|
|
// demo only..
|
|
function setTheme(sTheme) {
|
|
var o = document.getElementsByTagName('ul')[0];
|
|
o.className = 'playlist' + (sTheme ? ' ' + sTheme : '');
|
|
return false;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<h1><a href="http://www.schillmania.com/projects/soundmanager2/"
|
|
title="Play a page of mp3s with javascript via SoundManager 2">SoundManager 2</a> / page as a playlist, basic
|
|
template (flash 8)</h1>
|
|
|
|
<div id="sm2-container">
|
|
<!-- SM2 flash movie goes here -->
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
<ul class="playlist">
|
|
<li><a href="http://freshly-ground.com/misc/music/20060826%20-%20Armstrong.mp3">Working</a></li>
|
|
<li><a href="/audio/stream/20">Mine (stream)</a></li>
|
|
<li><a href="/media/mixes/7bfe7daa-0230-40d4-ab48-60b1849647da.mp3">Mine (apache)</a></li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|