feat: set more interesting page titles
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ashhhleyyy 2023-03-02 13:00:58 +00:00
parent 392555d587
commit 2abd6e7d5c
Signed by: ash
GPG key ID: 83B789081A0878FB
2 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Watch</title> <title>Select video</title>
<link rel="stylesheet" href="vendor/plyr-3.7.3.css"> <link rel="stylesheet" href="vendor/plyr-3.7.3.css">
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/main.css">
</head> </head>

View file

@ -88,6 +88,8 @@ if (query !== null) {
video.controls = true; video.controls = true;
video.crossOrigin = 'anonymous'; video.crossOrigin = 'anonymous';
document.title = 'Watching :D';
const sourceEle = document.createElement('source'); const sourceEle = document.createElement('source');
sourceEle.src = source; sourceEle.src = source;
sourceEle.type = sourceType; sourceEle.type = sourceType;