Show playing video file name

This commit is contained in:
2025-10-02 13:36:03 +02:00
parent b11218dcec
commit 732791e4f4
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,10 @@
$(async function()
{
const hash = location.hash.slice(1);
const file = atob(hash.replace(/-/g, '+').replace(/_/g, '/'));
$("title").text("Anime - "+file);
$("#title").text(file);
$("#status").text("Fetching media info...");
let res = await fetch(`api/info.php?file=${hash}`);