comparison project1/config.xml @ 0:032bc65ebafc

added core components
author George Fazekas <gyorgy.fazekas@eecs.qmul.ac.uk>
date Wed, 06 Mar 2013 15:45:48 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:032bc65ebafc
1 <?xml version="1.0" encoding="utf-8"?>
2 <audioplay>
3 <config>
4 <!--
5
6 AudioPlay - visit http://www.strangecube.com/audioplay/ for more
7
8 Here is an example multiple players configuration (set unique id for each player)
9
10 -->
11
12 <player playerid="1">
13 <!-- set player's background color -->
14 <backgroundColor>0xffffff</backgroundColor>
15
16 <!-- music file -->
17 <musicfile>beat.mp3</musicfile>
18
19 <!-- how many times music will be played (0 - unlimited) -->
20 <repeatTimes>1</repeatTimes>
21
22 <!-- should music starts automatically -->
23 <autostart>no</autostart>
24
25 <!-- button directory -->
26 <buttondir>buttons/classic</buttondir>
27
28 <!-- player mode - playstop or playpause -->
29 <mode>playstop</mode>
30
31 <!-- send stop command to other players ? -->
32 <sendstop>yes</sendstop>
33
34 <!-- listen stop command from other players ? -->
35 <listenstop>yes</listenstop>
36
37 <!-- track id - must be unique -->
38 <trackid>first</trackid>
39
40 <!-- which player (trackid) will be started after this player will end playing -->
41 <nexttrack>second</nexttrack>
42
43 <!-- use background color specified in 'backgroundColor' tag - no transparency -->
44 <usebgcolor>no</usebgcolor>
45
46 <!-- player alpha fade in duration -->
47 <fadeindur>1000</fadeindur>
48
49 <!-- volume 0-100 -->
50 <mastervol>90</mastervol>
51
52 <!-- you could specify URL of external scripts that will be used when play/pause/stop action is invoked (default: none) -->
53 <playscriptfile></playscriptfile>
54 <pausescriptfile></pausescriptfile>
55 <stopscriptfile></stopscriptfile>
56
57 <!-- autostart delay in ms (default 500)-->
58 <autostartdelay>1000</autostartdelay>
59
60 <!-- external interface feature (player could be controlled by JS play(), stop(), pause() methods) - default: no -->
61 <einterface>yes</einterface>
62
63 <!-- inititial buffering - music download starts immediately after player loads -->
64 <initbuf>no</initbuf>
65
66 <!-- images could be customized by changing images in button directory -->
67
68 </player>
69
70 <!--
71 For multiple instances of AudioPlay add separate player tags with unique playerid attribute
72 then add '?playerid=X' to every AudioPlay url in object/embed tags. For example: 'audioplay.swf?playerid=2'
73 -->
74
75 <player playerid="2">
76 <musicfile>beat.mp3</musicfile>
77 <repeatTimes>1</repeatTimes>
78 <autostart>no</autostart>
79 <buttondir>buttons/classic</buttondir>
80 <mode>playpause</mode>
81 <sendStop>yes</sendStop>
82 <listenstop>yes</listenstop>
83 <trackid>second</trackid>
84 <nexttrack>third</nexttrack>
85 <fadeindur>1000</fadeindur>
86 <mastervol>90</mastervol>
87 <playscriptfile></playscriptfile>
88 <pausescriptfile></pausescriptfile>
89 <stopscriptfile></stopscriptfile>
90 <autostartdelay>1000</autostartdelay>
91 <einterface>yes</einterface>
92 <initbuf>no</initbuf>
93 </player>
94
95 <player playerid="3">
96 <musicfile>beat.mp3</musicfile>
97 <repeatTimes>1</repeatTimes>
98 <autostart>no</autostart>
99 <buttondir>buttons/classic</buttondir>
100 <mode>playstop</mode>
101 <listenstop>yes</listenstop>
102 <trackid>third</trackid>
103 <nexttrack>first</nexttrack>
104 <fadeindur>1000</fadeindur>
105 <mastervol>90</mastervol>
106 <playscriptfile></playscriptfile>
107 <pausescriptfile></pausescriptfile>
108 <stopscriptfile></stopscriptfile>
109 <autostartdelay>1000</autostartdelay>
110 <einterface>no</einterface>
111 <initbuf>no</initbuf>
112 </player>
113
114 </config>
115 </audioplay>
116