Hls error style changes & typo fixes

This commit is contained in:
bytedream 2022-02-01 21:57:12 +01:00
parent 0f8d323c3c
commit af54a28737
2 changed files with 7 additions and 3 deletions

View File

@ -9,4 +9,8 @@ html, body, video
video video
position: absolute position: absolute
top: 0 top: 0
left: 0 left: 0
#message
color: white
text-align: center

View File

@ -27,7 +27,7 @@ function loadHls() {
switch (rawReliability) { switch (rawReliability) {
case 1: // low 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` Try to choose another streaming provider (if existent) or deactivate the addon for this domain (${searchParams.get('domain')}) and try again`
break break
case 2: // normal case 2: // normal
@ -36,7 +36,7 @@ function loadHls() {
case 3: // high case 3: // high
message = `The reliability for this domains is high, errors like this are very unlikely to happen. 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 <a href="https://github.com/ByteDream/stream-bypass/issues/new">here</a>. Try to refresh the page and if the error still exists you might want to open a new issue <a href="https://github.com/ByteDream/stream-bypass/issues/new">here</a>.
When your using <a href="https://www.torproject.org/">Tor</a> such errors have a slight chance to occur more often, When you're using <a href="https://www.torproject.org/">Tor</a> 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` so if this is the case just try to reload the page and see if you it's working then`
break break
} }