Skip to content

Commit ec81e2f

Browse files
committed
AudioPlayer: pre-open
1 parent 697090b commit ec81e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/util/audio/AudioPlayer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export namespace AudioPlayer {
33
/**
44
* Plays an audio file from a URL (e.g. an MP3 file).
55
*/
6-
export async function playUrl(url: string): Promise<void> {
6+
export async function playUrl(url: string, nbOpts?: any): Promise<void> {
77
return new Promise((resolve, reject) => {
88
const audio = new Audio(url);
99
audio.onended = () => resolve();

0 commit comments

Comments
 (0)