wip
This commit is contained in:
parent
8363b26922
commit
0821fc4422
2 changed files with 24 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
19
client/stillbox/src/index.dev_nocsp.html
Normal file
19
client/stillbox/src/index.dev_nocsp.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<html lang="en" data-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Stillbox</title>
|
||||
<base href="/" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
||||
<link rel="manifest" href="manifest.webmanifest" />
|
||||
<meta name="theme-color" content="#1976d2" />
|
||||
<meta http-equiv="Content-Security-Policy" content="media-src *" />
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<noscript
|
||||
>Please enable JavaScript to continue using this application.</noscript
|
||||
>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue