From af54a28737860f7ee6cea92f2108b3eaf6a70ea8 Mon Sep 17 00:00:00 2001 From: bytedream Date: Tue, 1 Feb 2022 21:57:12 +0100 Subject: [PATCH] Hls error style changes & typo fixes --- src/res/hls.sass | 6 +++++- src/res/hls.ts | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/res/hls.sass b/src/res/hls.sass index 0943cfc..4e4ad28 100644 --- a/src/res/hls.sass +++ b/src/res/hls.sass @@ -9,4 +9,8 @@ html, body, video video position: absolute top: 0 - left: 0 \ No newline at end of file + left: 0 + +#message + color: white + text-align: center diff --git a/src/res/hls.ts b/src/res/hls.ts index 8c64cfe..1f801bd 100644 --- a/src/res/hls.ts +++ b/src/res/hls.ts @@ -27,7 +27,7 @@ function loadHls() { switch (rawReliability) { case 1: // low - message = `The reliability for this domain is low, so errors like this are common. + message = `The reliability for this domain is low, errors like this are common. Try to choose another streaming provider (if existent) or deactivate the addon for this domain (${searchParams.get('domain')}) and try again` break case 2: // normal @@ -36,7 +36,7 @@ function loadHls() { case 3: // high message = `The reliability for this domains is high, errors like this are very unlikely to happen. Try to refresh the page and if the error still exists you might want to open a new issue here. - When your using Tor such errors have a slight chance to occur more often, + When you're using Tor such errors have a slight chance to occur more often, so if this is the case just try to reload the page and see if you it's working then` break }