From 0821fc4422fc113e2e339791d909acb0d033c55f Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Sun, 5 Jan 2025 11:42:29 -0500 Subject: [PATCH] wip --- .../call-player/call-player.component.ts | 6 +++++- client/stillbox/src/index.dev_nocsp.html | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 client/stillbox/src/index.dev_nocsp.html diff --git a/client/stillbox/src/app/calls/player/call-player/call-player.component.ts b/client/stillbox/src/app/calls/player/call-player/call-player.component.ts index 4a2eb86..0e7a974 100644 --- a/client/stillbox/src/app/calls/player/call-player/call-player.component.ts +++ b/client/stillbox/src/app/calls/player/call-player/call-player.component.ts @@ -31,7 +31,11 @@ export class CallPlayerComponent { }); this.playing = true; this.au.src = this.callsSvc.callAudioURL(this.call.id); + console.log(this.au.src); this.au.load(); - this.au.play(); + this.au.play().then(null, (reason) => { + this.playing = false; + alert(reason); + }); } } diff --git a/client/stillbox/src/index.dev_nocsp.html b/client/stillbox/src/index.dev_nocsp.html new file mode 100644 index 0000000..a20dc26 --- /dev/null +++ b/client/stillbox/src/index.dev_nocsp.html @@ -0,0 +1,19 @@ + + + + + Stillbox + + + + + + + + + + + +