uweb/searchurl/txt/plyr.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>