source: extensions/music_player/player/mp3player.html @ 23126

Last change on this file since 23126 was 3329, checked in by flop25, 15 years ago

first commit

File size: 1.6 KB
Line 
1<html>
2<head>
3
4
5<script type="text/javascript" src="swfobject.js"></script>
6
7
8</head>
9<body>
10
11
12<h2>single mp3 file, with cover image:</h2>
13
14
15<p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
16<script type="text/javascript">
17        var s1 = new SWFObject("mp3player.swf", "single", "240", "240", "7");
18        s1.addVariable("file","song1.mp3");
19        s1.addVariable("image","cover.jpg");
20        s1.write("player1");
21</script>
22
23
24<h2>playlist file, with different colors and EQ:</h2>
25
26
27<p id="player2"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
28<script type="text/javascript">
29        var s2 = new SWFObject("mp3player.swf", "playlist", "240", "135", "7");
30        s2.addVariable("file","playlist.xml");
31        s2.addVariable("backcolor","0x00000");
32        s2.addVariable("frontcolor","0xEECCDD");
33        s2.addVariable("lightcolor","0xCC0066");
34        s2.addVariable("displayheight","0");
35        s2.write("player2");
36</script>
37
38
39<h2>a single line, with repeat and downloadbutton and without digits:</h2>
40
41
42<p id="player3"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
43<script type="text/javascript">
44        var s3 = new SWFObject("mp3player.swf", "line", "240", "20", "7");
45        s3.addVariable("file","song1.mp3");
46        s3.addVariable("repeat","true");
47        s3.addVariable("showdigits","false");
48        s3.addVariable("showdownload","true");
49        s3.write("player3");
50</script>
51
52
53<p><a href="http://www.jeroenwijering.com/extras/wizard.html">online configuration wizard</a></p>
54
55
56</body>
57</html>
Note: See TracBrowser for help on using the repository browser.