mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
Add Invidious's listen=1 support.
This commit is contained in:
parent
b8ac67b7af
commit
1f03ce5c8a
@ -105,7 +105,8 @@ export default {
|
||||
|
||||
this.player = player;
|
||||
|
||||
if (localStorage && localStorage.getItem("audioOnly")) this.player.configure("manifest.disableVideo", true);
|
||||
if ((localStorage && localStorage.getItem("audioOnly") === "true") || this.$route.query.listen === "1")
|
||||
this.player.configure("manifest.disableVideo", true);
|
||||
|
||||
player.load("data:application/dash+xml;charset=utf-8;base64," + btoa(dash)).then(() => {
|
||||
this.video.subtitles.map(subtitle => {
|
||||
|
Loading…
Reference in New Issue
Block a user