File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 917
917
node . _unlocked = true ;
918
918
if ( ! internal ) {
919
919
self . _emit ( 'play' , sound . _id ) ;
920
+ } else {
920
921
self . _loadQueue ( ) ;
921
922
}
922
923
} )
933
934
self . _playLock = false ;
934
935
setParams ( ) ;
935
936
self . _emit ( 'play' , sound . _id ) ;
936
- self . _loadQueue ( ) ;
937
937
}
938
938
939
939
// Setting rate before playing won't work in IE, so we set it again here.
1648
1648
1649
1649
// Seek and emit when ready.
1650
1650
var seekAndEmit = function ( ) {
1651
- self . _emit ( 'seek' , id ) ;
1652
-
1653
1651
// Restart the playback if the sound was playing.
1654
1652
if ( playing ) {
1655
1653
self . play ( id , true ) ;
1656
1654
}
1655
+
1656
+ self . _emit ( 'seek' , id ) ;
1657
1657
} ;
1658
1658
1659
1659
// Wait for the play lock to be unset before emitting (HTML5 Audio).
You can’t perform that action at this time.
0 commit comments