|
<style>
@import 'https://638183.freep.cn/638183/web/css/tz01.css';
#pa { --offsetX: 81px; --bg: tan url('https://638183.freep.cn/638183/t24/w6/rise.webp') no-repeat center/cover; --ma-size: 16vw; }
#progress { position: absolute; width: 100%; height: 100%; }
#ma { display: grid; place-items: center; bottom: 30px; animation: unset; cursor: unset; }
#player { position: absolute; width: 62%; height: 62%; border-radius: 50%; cursor: pointer; animation: rotate 8s linear infinite var(--state); }
#track, #prog { cursor: pointer; fill: none; stroke: lightblue; stroke-opacity: .4; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
#prog { stroke: royalblue; stroke-opacity: 1; }
#btnFs { bottom: 10px; color: white; border-color: currentColor !important; }
.vid { transform: rotate(180deg); }
</style>
<div id="pa">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=1386669794" autoplay loop></audio>
<video class="vid pd-vid" src="https://img.tukuppt.com/video_show/2629112/00/01/92/5b4d9113bffd1.mp4" autoplay loop muted></video>
<div id="ma">
<svg id="progress" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
<g>
<title>调节进度</title>
<path id="track" d="M390 200A180 180 0 0 0 295 364.54A180 180 0 0 0 105 364.54A180 180 0 0 0 10 200A180 180 0 0 0 105 35.46A180 180 0 0 0 295 35.46A180 180 0 0 0 390 200" />
<path id="prog" d="M390 200A180 180 0 0 0 295 364.54A180 180 0 0 0 105 364.54A180 180 0 0 0 10 200A180 180 0 0 0 105 35.46A180 180 0 0 0 295 35.46A180 180 0 0 0 390 200" />
</g>
</svg>
<img id="player" src="https://638183.freep.cn/638183/small/2025/ff2.webp" alt="" />
</div>
</div>
<script type="module">
import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog.js';
FS(pa, player);
</script>
|