File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,18 +242,15 @@ var HTML5AudioSound = new Class({
242242 this . reset ( ) ;
243243 return false ;
244244 }
245-
246245 var seek = this . currentConfig . seek ;
247246 var delay = this . currentConfig . delay ;
248247 var offset = ( this . currentMarker ? this . currentMarker . start : 0 ) + seek ;
249248 this . previousTime = offset ;
250249 this . audio . currentTime = offset ;
251250 this . applyConfig ( ) ;
252-
253251 if ( delay === 0 )
254252 {
255253 this . startTime = 0 ;
256-
257254 if ( this . audio . paused )
258255 {
259256 this . playCatchPromise ( ) ;
@@ -262,15 +259,12 @@ var HTML5AudioSound = new Class({
262259 else
263260 {
264261 this . startTime = window . performance . now ( ) + delay * 1000 ;
265-
266262 if ( ! this . audio . paused )
267263 {
268264 this . audio . pause ( ) ;
269265 }
270266 }
271-
272267 this . resetConfig ( ) ;
273-
274268 return true ;
275269 } ,
276270
You can’t perform that action at this time.
0 commit comments