diff --git a/js/player.js b/js/player.js index e3abaab..2919500 100644 --- a/js/player.js +++ b/js/player.js @@ -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}`); diff --git a/player.html b/player.html index 17872cb..240deae 100644 --- a/player.html +++ b/player.html @@ -8,6 +8,7 @@ Anime - Player +

"Video Player"