Hotfix TiVuOcto UI, add link in home

This commit is contained in:
octospacc 2024-07-30 23:47:36 +02:00
parent 260dc1e61d
commit 20f6df25c9
3 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>TiVuOcto</title> <title>📺️ TiVuOcto</title>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta property="og:title" content="TiVuOcto"/> <meta property="og:title" content="TiVuOcto"/>
@ -424,11 +424,11 @@ async function loadFromHash (event) {
} }
video.src({ src, type: (headers.get('content-type') || 'application/x-mpegURL') }); video.src({ src, type: (headers.get('content-type') || 'application/x-mpegURL') });
video.play(); video.play();
videoEl.hidden = false; videoEl.style.display = '';
} else { } else {
setTitle(); setTitle();
var hashMain = location.hash.split('/')[1]; var hashMain = location.hash.split('/')[1];
videoEl.hidden = true; videoEl.style.display = 'none';
switch (hashMain) { switch (hashMain) {
default: default:
noVideoEl.hidden = false; noVideoEl.hidden = false;

View File

@ -6,8 +6,6 @@
"": { "": {
"dependencies": { "dependencies": {
"escape-html": "^1.0.3", "escape-html": "^1.0.3",
"mime-types": "^2.1.35",
"parse-multipart-data": "^1.5.0",
"SpaccDotWeb": "gitlab:SpaccInc/SpaccDotWeb" "SpaccDotWeb": "gitlab:SpaccInc/SpaccDotWeb"
} }
}, },
@ -42,7 +40,7 @@
}, },
"node_modules/SpaccDotWeb": { "node_modules/SpaccDotWeb": {
"version": "indev", "version": "indev",
"resolved": "git+ssh://git@gitlab.com/SpaccInc/SpaccDotWeb.git#495c7a8d2e0e570108b9d2ed23e555949270666e", "resolved": "git+ssh://git@gitlab.com/SpaccInc/SpaccDotWeb.git#9b23a57eeb50f32627cdd182070eb722118c1554",
"dependencies": { "dependencies": {
"mime-types": "^2.1.35", "mime-types": "^2.1.35",
"parse-multipart-data": "^1.5.0" "parse-multipart-data": "^1.5.0"

View File

@ -58,6 +58,10 @@
<small>(<i>yo dawg, i heard you...</i>)</small><!-- <small>(<i>yo dawg, i heard you...</i>)</small><!--
--></h4> --></h4>
<h4><a href="./MatrixStickerHelper/">🃏️ [Matrix] Sticker Helper</a></h4> <h4><a href="./MatrixStickerHelper/">🃏️ [Matrix] Sticker Helper</a></h4>
<h4><!--
--><a href="./TiVuOcto/">📺️ TiVuOcto</a>
<small>(Web IPTV Player)</small><!--
--></h4>
<h4><!-- <h4><!--
--><a href="./SpiderADB/">🕷️ SpiderADB</a> --><a href="./SpiderADB/">🕷️ SpiderADB</a>
<small>(Android debugging for Web)</small><!-- <small>(Android debugging for Web)</small><!--