mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-25 23:13:35 +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