Eiffel 65 - People Of Tomorrow (Album Mix)
<meta charset="UTF-8">
<style>
#papa { margin: 150px 0 0 calc(50% - 881px);display: grid; place-items: center; width: 1600px; height: 900px; background: #000 url('https://xlaj.cn/assets/file/zp/20240311224404.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; perspective: 1000px; overflow: hidden; user-select: none; position: relative; z-index: 1; }
#mplayer { position: absolute;top: 700px; right: 136px; z-index: 1000; }
#btnwrap { display: block; fill: hsla(30, 20%, 80%, .9); cursor: pointer; }
#btnwrap:hover { fill: hsla(90, 100%, 100%, .9); }
#tmsg { fill: hsla(30, 100%, 90%, .9); stroke: none; font: bold 1em sans-serif; }
#lrc { --motion: cover1; --tt: 1s; --state: running; position: absolute;left: 550px; top: 500px; font: bold 2.0em sans-serif; color: hsl(100,100%,90%); -webkit-background-clip: text; filter: drop-shadow(1px 1px 1px hsla(0,100%,0%,.85)); z-index: 999; }
#lrc::before { position: absolute; content: attr(data-lrc); width: 20%; height: 100%; color: transparent; overflow: hidden; white-space: pre; background: linear-gradient(180deg,hsla(100, 48%, 22%,.35),hsla(100, 28%, 42%,.65)); filter: inherit; -webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards; animation-play-state: var(--state); }
#dt1{ position: absolute; width: 32px; height: 32px; top: 40px; left: 220px; }
#dt2{ position: absolute; width: 12px; height: 12px; top: 319px; left: 413px; }
#dt3{ position: absolute; width: 12px; height: 20px; top: 470px; left: 470px; }
#dt4{ position: absolute; width: 12px; height: 20px; top: 467px; left: 445px; }
#dt5{ position: absolute; width: 12px; height: 20px; top: 308px; left: 378px; }
@keyframes cover1 { from { width: 0; } to { width: 100%; } }
@keyframes cover2 { from { width: 0; } to { width: 100%; } }
</style>
<div id="papa">
<img id="dt1" src="https://xlaj.cn/assets/file/zp/20231112124430.jpg" alt="" />
<img id="dt2" src="https://xlaj.cn/assets/file/zp/20231030141805.jpg" alt="" />
<img id="dt3" src="https://xlaj.cn/assets/file/zp/20231030141805.jpg" alt="" />
<img id="dt4" src="https://xlaj.cn/assets/file/zp/20231030141805.jpg" alt="" />
<img id="dt5" src="https://xlaj.cn/assets/file/zp/20231030141805.jpg" alt="" />
<img src=" https://xlaj.cn/assets/file/zp/20230912021559.gif" alt="" style="position: absolute; left: 1080px; top: 100px; mix-blend-mode: screen; " />
<svg id="mplayer" width="120" height="120">
<g id="mama" transform="rotate(-90, 60, 60)" style="cursor: pointer;">
<circle id="track" cx="60" cy="60" r="50" fill="none" stroke-width="10" stroke="hsla(100, 20%, 80%, .65)" />
<circle id="prog" cx="60" cy="60" r="50" fill="none" stroke-width="10" stroke="hsla(100,50%,50%,.55)" />
</g>
<g id="btnwrap">
<path id="btnplay" d="M 50 50,50 70,70, 60 z"></path>
<path id="btnpause" d="M 52 50,52 70,57 70,57 50,52 50 z M 60 50,60 70,65 70,65 50,60 50 z" style="display: none;"></path>
<path d="M 57 50,60 50,60 70,57 70 z" fill="transparent" />
</g>
<path id="curPath" d="M 20 70 Q 60 0 100 70" fill="none" stroke="none"/>
<path id="durPath" d="M 20 55 Q 60 110 100 55" fill="none" stroke="none"/>
<g id="tmsg">
<text x="34" y="0"><textPath id="curMsg" xlink:href="#curPath" dominant-baseline="text-after-edge">00:00</textPath></text>
<text x="29" y="0"><textPath id="durMsg" xlink:href="#durPath" dominant-baseline="text-before-edge">00:00</textPath></text>
</g>
</svg>
<div id="lrc" data-lrc="HCplayer">HCplayer </div>
</div>
<audio id="aud" src="https://gk37.com/usr/uploads/2024/03/2874951479.mp3" loop autoplay></audio>
<script>
(function() {
(function() {let total = 0, rr = 150;Array.from({length: total}).forEach((item,key) => {item = document.createElement('span');item.innerText = String.fromCharCode(9800+key);item.style.transform = `rotate(${0 / total * key}deg) translateY(${rr}px) rotate(-${360 / total * key}deg`;papa.appendChild(item);});})();
let mKey = 0, mFlag = true, cc = { x: 1*track.getAttribute('cx'), y: 1*track.getAttribute('cy'), len: track.getTotalLength(),};
let lrcAr = [
,
,
,
,
,
,
,
",2.41],
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
",3.20],
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
prog.style.strokeDasharray = prog.style.strokeDashoffset =cc.len;
btnwrap.onclick = () => aud.paused ? aud.play() : aud.pause();
mama.onclick = (e) => {let deg = Math.atan2(e.offsetY - cc.y, e.offsetX - cc.x) * 180 / Math.PI;deg += (e.offsetX < cc.x && e.offsetY < cc.y) ? 450 : 90;aud.currentTime = aud.duration * deg / 360;};
aud.addEventListener('pause', () => mState());
aud.addEventListener('play', () => mState());
aud.addEventListener('seeked', () => calcKey());
aud.addEventListener('timeupdate', () => {prog.style.strokeDashoffset = cc.len - cc.len * aud.currentTime / aud.duration;curMsg.textContent = toMin(aud.currentTime);durMsg.textContent = toMin(aud.duration);for (j = 0; j < lrcAr.length; j++) {if (aud.currentTime >= lrcAr) {if (mKey === j) showLrc(lrcAr);else continue;}}});
let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = lrcAr;lrc.dataset.lrc = lrcAr.replace(/<br>/,'\n');lrc.style.setProperty('--motion', name);lrc.style.setProperty('--tt', time + 's');lrc.style.setProperty('--state', 'running');mKey += 1;mFlag = !mFlag;};
let calcKey = () => {for(j = 0; j < lrcAr.length; j ++) {if(aud.currentTime <= lrcAr) {mKey = j - 1;break;}}if(mKey <0) mKey = 0;if(mKey > lrcAr.length - 1) mKey = lrcAr.length - 1;let time = lrcAr - (aud.currentTime - lrcAr);showLrc(time);};
let mState = () => aud.paused ? (btnplay.style.display = 'block', btnpause.style.display = 'none', lrc.style.setProperty('--state', 'paused')) : (btnplay.style.display = 'none', btnpause.style.display = 'block', lrc.style.setProperty('--state', 'running'));
let toMin = (val)=> {if (!val) return '00:00';val = Math.floor(val);let min = parseInt(val / 60), sec = parseFloat(val % 60);if(min < 10) min = '0' + min;if(sec < 10) sec = '0' + sec;return min + ':' + sec;};
papa.oncontextmenu = () => false;
})();
</script>
<br><br><br><br><br>
同一首完成 双语歌词同步 这么快就制作完成!我弄的那些dj 舞曲从找音乐、找图片、找歌词,然后制作滚动歌词,到最后每一首都要花上半个小时,你制作音画挺快的。
{:6_197:} 無名 发表于 2024-3-12 20:43
这么快就制作完成!我弄的那些dj 舞曲从找音乐、找图片、找歌词,然后制作滚动歌词,到最后每一首都要花 ...
你半个小时可以完成一首音乐,而且自己做歌词同步已经速度很快了 無名 发表于 2024-3-12 20:43
这么快就制作完成!我弄的那些dj 舞曲从找音乐、找图片、找歌词,然后制作滚动歌词,到最后每一首都要花 ...
我这个帖做了一个下午的,主要歌词同步和我这个播放器不相容我一个个修改就花了许多时间了 小辣椒 发表于 2024-3-12 21:11
你半个小时可以完成一首音乐,而且自己做歌词同步已经速度很快了
熟能生巧,我网站开了都快三年了,这个刚开始弄也是时间跟歌词差了好几拍,那些旧帖还在都没去管。 無名 发表于 2024-3-12 20:43
这么快就制作完成!我弄的那些dj 舞曲从找音乐、找图片、找歌词,然后制作滚动歌词,到最后每一首都要花 ...
哈哈哈 她是高手 速度贼快做出了的效果杠杠的 無名 发表于 2024-3-12 22:02
熟能生巧,我网站开了都快三年了,这个刚开始弄也是时间跟歌词差了好几拍,那些旧帖还在都没去管。 ...
歌词同步播放器不一样,歌词格式不一样的 欣赏小辣椒新的作品,这个图图机器人的眼睛一闪一闪的,很有灵动感{:5_150:}
页:
[1]
2