Shares #109

Merged
amigan merged 59 commits from shareUI into trunk 2025-02-14 00:25:03 -05:00
Showing only changes of commit 4d5dfb94cd - Show all commits

View file

@ -30,7 +30,11 @@ export class CallPlayerComponent {
this.playSub.unsubscribe(); this.playSub.unsubscribe();
}); });
this.playing = true; this.playing = true;
this.au.src = this.callsSvc.callAudioURL(this.call.id); if (this.call.audioURL != null) {
this.au.src = this.call.audioURL;
} else {
this.au.src = this.callsSvc.callAudioURL(this.call.id);
}
this.au.load(); this.au.load();
this.au.play().then(null, (reason) => { this.au.play().then(null, (reason) => {
this.playing = false; this.playing = false;