Closed kyoukhana closed 3 years ago
So I got it working but loop doesn't seem to work
var group = new Pizzicato.Group();
var track1 = new Pizzicato.Sound({
source: 'file',
loop: 1,
options: { path: '/api/user/track/audio/9?token='+this.$auth.token() }
}, function() {
group.addSound(track1);
});
var track2 = new Pizzicato.Sound({
source: 'file',
options: { path: '/api/user/track/audio/1?token='+this.$auth.token() }
}, function() {
group.addSound(track2);
group.play();
});
I got the loop working now
options: { path: '/api/user/track/audio/9?token='+this.$auth.token(), loop: true }
I know how to do a group but how can i show the percent loaded when adding files to the group to confirm the file is loaded then I can play the group