mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 06:57:22 +00:00
Disable audio only mode in livestreams.
This commit is contained in:
parent
1460ea1688
commit
e243adb111
@ -126,7 +126,10 @@ export default {
|
||||
|
||||
this.player = player;
|
||||
|
||||
if ((localStorage && localStorage.getItem("audioOnly") === "true") || this.$route.query.listen === "1")
|
||||
if (
|
||||
((localStorage && localStorage.getItem("audioOnly") === "true") || this.$route.query.listen === "1") &&
|
||||
!this.video.livestream
|
||||
)
|
||||
this.player.configure("manifest.disableVideo", true);
|
||||
|
||||
player.load(uri).then(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user