|
<style>
@import 'https://638183.freep.cn/638183/web/css/tz01.css';
#pa { --offsetX: 81px; --bg: beige url('https://638183.freep.cn/638183/t24/w6/ujhx.webp') no-repeat center/cover; }
#progress { position: absolute; width: 260px; height: 260px; right: 30px; bottom: 30px; }
#prog, #track { fill: none; stroke: pink; stroke-opacity: .6; stroke-width: 10; stroke-linejoin: round; stroke-linecap: round; transition: .15s; cursor: pointer; }
#prog { stroke: magenta; }
#player { transform-box: fill-box; transform-origin: center; cursor: pointer; fill: lightgreen; fill-rule: evenodd; fill-opacity: .5; animation: rotate 8s linear infinite var(--state); }
#btnFs { right: 20px; top: 20px; color: lightgreen; border-color: currentColor!important; }
</style>
<div id="pa">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=2628812849" autoplay loop></audio>
<video class="pd-vid" src="https://img.tukuppt.com/video_show/3664703/00/02/09/5b505b5860f94.mp4" autoplay loop muted></video>
<svg id="progress" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
<path id="player" d="M400.00 200.00,L75.30 356.37,L155.50 5.01,L380.19 286.78,L19.81 286.78,L244.50 5.01,L324.70 356.37,L0.00 200.00,L324.70 43.63,L244.50 394.99,L19.81 113.22,L380.19 113.22,L155.50 394.99,L75.30 43.63"><title>Alt+X</title></path>
<circle id="track" cx="200" cy="200" r="80"><title>调节进度</title></circle>
<circle id="prog" cx="200" cy="200" r="80"><title>调节进度</title></circle>
</svg>
</div>
<script type="module">
import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog.js';
FS(pa, player);
</script>
|