mirror of
https://github.com/TeamPiped/Piped
synced 2025-11-11 01:40:10 +01: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;
|
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);
|
this.player.configure("manifest.disableVideo", true);
|
||||||
|
|
||||||
player.load(uri).then(() => {
|
player.load(uri).then(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user