mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
14 lines
400 B
HTML
14 lines
400 B
HTML
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/plyr/dist/plyr.css"/>
|
|
<video id="player" playsinline controls>
|
|
<source id="src" />
|
|
</video>
|
|
<script src="https://cdn.jsdelivr.net/npm/plyr"></script>
|
|
<script>
|
|
{//?u=
|
|
let url = location.search.substring(3);
|
|
let d = document;
|
|
let e = d.getElementById("src");
|
|
e.src = url;
|
|
}
|
|
const player = new Plyr('#player');
|
|
</script>
|