From 24f9e4456faf97fbbb866e1df2df9d94628ffcc6 Mon Sep 17 00:00:00 2001
From: Kelvin <kelvin@futo.org>
Date: Sat, 3 Aug 2024 20:29:56 +0200
Subject: [PATCH] Only fallback on fail

---
 YoutubeConfig.json | 2 +-
 YoutubeScript.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/YoutubeConfig.json b/YoutubeConfig.json
index 8744140..87a2276 100644
--- a/YoutubeConfig.json
+++ b/YoutubeConfig.json
@@ -7,7 +7,7 @@
 	"sourceUrl": "https://plugins.grayjay.app/Youtube/YoutubeConfig.json",
 	"repositoryUrl": "https://futo.org",
 	"scriptUrl": "./YoutubeScript.js",
-	"version": 189,
+	"version": 190,
 	"iconUrl": "./youtube.png",
 	"id": "35ae969a-a7db-11ed-afa1-0242ac120002",
 
diff --git a/YoutubeScript.js b/YoutubeScript.js
index 9d378e3..8af0b61 100644
--- a/YoutubeScript.js
+++ b/YoutubeScript.js
@@ -99,7 +99,7 @@ const USER_AGENT_TVHTML5_EMBED = "Mozilla/5.0 (CrKey armv7l 1.5.16041) AppleWebK
 const USE_MOBILE_PAGES = true;
 const USE_ANDROID_FALLBACK = false;
 const USE_IOS_FALLBACK = true;
-const USE_IOS_VIDEOS_FALLBACK = true;
+const USE_IOS_VIDEOS_FALLBACK = false;
 
 const SORT_VIEWS_STRING = "Views";
 const SORT_RATING_STRING = "Rating";
-- 
GitLab