陪你听风听雨 歌手:爱朵女孩
<style>#papa {margin: 130px 0 30px calc(50% - 681px);width: 1200px; height: 573px; position: relative; background: silver url('https://wj1.zp68.com:812/lxx/yunhua/2024/07/12/F.gif') no-repeat center/cover; box-shadow: 4px 4px 8px rgba(0,0,0,.6); overflow: hidden; display: grid; place-items: center; --state: paused; }
#mplayer { position: absolute; left: 820px;bottom: 15px; text-align: center; color: Lavender; }
#mplayer p { margin: 0; padding: 0; cursor: pointer; }
#mprog { width: 200px; accent-color: #38b885; outline: none; cursor: pointer; }
#btnplay { width: 60px; animation: rotating 6s infinite linear var(--state); }
#lrc { --motion: cover2; --tt: 1s; --bg: linear-gradient(180deg,hsla(180,100%,50%,.50),hsla(180,100%,20%,.65)); position: absolute; left: 420px; top:80px;font: bold 1.8em sans-serif; color:MintCream; white-space: pre; -webkit-background-clip: text; filter: drop-shadow(1px 1px 2px hsla(0, 100%, 0%, .85)); pointer-events: none; z-index: 900; }
#lrc::before { position: absolute; content: attr(data-lrc); width: 0%; height: 100%; color: transparent; overflow: hidden; white-space: pre; background: var(--bg); filter: inherit; background-clip: text; -webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards var(--state); }
#vid { position: absolute; width: 150px; height: 150px; left: 880px;top:60px; object-fit: cover; aspect-ratio: 1; border-radius: 50%; cursor: pointer; mix-blend-mode: opacity: .9 }
.ipic { position: absolute; left: 200px;top:150px;mix-blend-mode: multiply; animation: rotating 6s infinite var(--state); }
.ipic1 { position: absolute; width: 32px; height: 32px;left: 900px;top:250px; animation: rotating 6s infinite var(--state); }
@keyframes cover1 { from { width: 0%; }to { width: 100%; } }
@keyframes cover2 { from { width: 0%; }to { width: 100%; } }
@keyframes rotating { to { transform: rotate(360deg); } }
</style>
<div id="papa">
<img class="ipic1" alt="" src="https://xlaj.cn/assets/file/zp/20231112124430.jpg " />
<img class="ipic" alt="" src="https://wj1.zp68.com:812/lxx/yunhua/2024/07/12/an1.webp" />
<audio src="https://s2.ananas.chaoxing.com/sv-w9/audio/ab/0f/fa/66637836cac372e04a36e6de05fc5074/audio.mp3" autoplay loop></audio>
<video id="vid" src="https://lk999.oss-cn-guangzhou.aliyuncs.com/Love%20Me.mp4" loop muted oncontextmenu="return false"></video>
<div id="mplayer">
<p><img id="btnplay" src="https://wj1.zp68.com:812/lxx/yunhua/2024/07/12/an1.webp" title="播放/暂停" alt="" /></p>
<p>
<output id="mdu">0:00</output>
<input id="mprog" type="range" min="0" step="1" max="100" value="0" title="调节进度" />
<output id="mcur">0:00</output>
</p>
</div>
<div id="lrc" data-lrc="HuaChao">HuaChao </div>
</div>
<script>
const geci = [ ,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
const sf = document.createElement('script');
sf.src = 'https://638183.freep.cn/638183/web/js/lrcku_range.js';
sf.charset = 'utf-8';
document.querySelector('body').appendChild(sf);
vid.onclick = (e) => aud.paused ? aud.play() : aud.pause();
</script> 播放器和视频关联,都可以点击停止 小圆视频在上面角角上 播放器联动视频不错{:5_150:}
试了几次确实联动 感谢小辣椒分享{:5_141:}
页:
[1]