mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
Fix audio on playback
This commit is contained in:
parent
e2f0892269
commit
6b85183295
@ -202,11 +202,14 @@ export default {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.audioplayer) {
|
if (!this.audioplayer)
|
||||||
this.audioplayer = new Audio(
|
this.audioplayer = new Audio(
|
||||||
this.video.audioStreams.slice(-1)[0].url
|
this.video.audioStreams.slice(-1)[0].url
|
||||||
);
|
);
|
||||||
}
|
else
|
||||||
|
this.audioplayer.src = this.video.audioStreams.slice(
|
||||||
|
-1
|
||||||
|
)[0].url;
|
||||||
|
|
||||||
this.player.src(src);
|
this.player.src(src);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user