@@ -148,18 +148,18 @@ return dojo.declare("dojox.av.FLAudio", null, {
148
148
// Adds a media object to the playlist
149
149
// ***This can be called repeatedly to add multiple items.
150
150
// options: Object
151
- // url: String
151
+ // - url: String:
152
152
// (required) path to MP3 media
153
153
// url must be absolute or relative to SWF,
154
154
// not dojo or the html. An effort will be made
155
155
// to fix incorrect paths.
156
- // id: String
156
+ // - id: String:
157
157
// (optional) an identifier to later determine
158
158
// which media to control.
159
159
// returns:
160
160
// The normalized url, which can be used to identify the
161
161
// audio.
162
- //
162
+
163
163
if ( dojox . timing . doLater ( this . flashMedia , this ) ) { return false ; }
164
164
if ( ! options . url ) {
165
165
throw new Error ( "An url is required for loading media" ) ;
@@ -181,12 +181,12 @@ return dojo.declare("dojox.av.FLAudio", null, {
181
181
// Tell media to play, based on
182
182
// the options passed.
183
183
// options: Object
184
- // - volume: Number
184
+ // - volume: Number:
185
185
// Sets the volume
186
- // - pan: Number
186
+ // - pan: Number:
187
187
// Sets left/right pan
188
- // - index:Number OR id:String OR url:String
189
- // Choose one of the above to indentify
188
+ // - index:Number OR id:String OR url:String:
189
+ // Choose one of the above to identify
190
190
// the media you wish to control. id is
191
191
// set by you. index is the order in which
192
192
// media was added (zero based)
@@ -203,8 +203,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
203
203
// Tell media to pause, based on identifier in
204
204
// the options passed.
205
205
// options: Object
206
- // index:Number OR id:String OR url:String
207
- // See doPlay()
206
+ // index:Number OR id:String OR url:String.
207
+ // See doPlay().
208
208
209
209
this . flashMedia . pause ( options ) ;
210
210
} ,
@@ -214,8 +214,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
214
214
// Tell media to stop, based on identifier in
215
215
// the options passed.
216
216
// options:
217
- // index:Number OR id:String OR url:String
218
- // See doPlay()
217
+ // index:Number OR id:String OR url:String.
218
+ // See doPlay().
219
219
220
220
this . flashMedia . doStop ( options ) ;
221
221
} ,
@@ -227,8 +227,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
227
227
// options:
228
228
// volume: Number
229
229
// 0 to 1
230
- // index:Number OR id:String OR url:String
231
- // See doPlay()
230
+ // index:Number OR id:String OR url:String.
231
+ // See doPlay().
232
232
233
233
this . flashMedia . setVolume ( options ) ;
234
234
} ,
@@ -249,8 +249,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
249
249
// Get media volume, based on identifier in
250
250
// the options passed.
251
251
// options:
252
- // index:Number OR id:String OR url:String
253
- // See doPlay()
252
+ // index:Number OR id:String OR url:String.
253
+ // See doPlay().
254
254
255
255
return this . flashMedia . getVolume ( options ) ;
256
256
} ,
@@ -260,8 +260,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
260
260
// Set media pan, based on identifier in
261
261
// the options passed.
262
262
// options:
263
- // index:Number OR id:String OR url:String
264
- // See doPlay()
263
+ // index:Number OR id:String OR url:String.
264
+ // See doPlay().
265
265
266
266
return this . flashMedia . getPan ( options ) ;
267
267
} ,
@@ -270,8 +270,8 @@ return dojo.declare("dojox.av.FLAudio", null, {
270
270
// summary:
271
271
// Get the current time.
272
272
// options:
273
- // index:Number OR id:String OR url:String
274
- // See doPlay()
273
+ // index:Number OR id:String OR url:String.
274
+ // See doPlay().
275
275
276
276
return this . flashMedia . getPosition ( options ) ;
277
277
} ,
0 commit comments