【冰心翻唱】匆匆
本帖最后由 冰心 于 2023-7-3 22:46 编辑 <br /><br /><style>#papa {margin: 0 0 0 calc(50% - 593px);
display: grid;
place-items: center;
width: 1024px;
height: 640px;
background: gray url('http://5b0988e595225.cdn.sohucs.com/images/20181123/90588d992bc14abd92b9b0d4f3ba1595.gif') no-repeat center/cover;
box-shadow: 8px 4px 20px hsla(0,0%,0%,.65);
overflow: hidden;
user-select: none;
position: relative;
perspective: 3000px;
z-index: 1;
}.vid { position: absolute; width: 1900px; height: 800px; top: -80px; object-fit: cover; opacity: 0.2; }</style><div id="papa"><video class="vid" src="https://img.tukuppt.com/video_show/2419216/00/01/99/5b50338d8e2da.mp4" autoplay="autoplay" loop="loop" muted="muted"></div><audio id="aud" src="https://www.joy127.com/url/105683.mp3" loop="" autoplay=""></audio><script>(function() {
(function(mkPlayer) {let defaults = {lrcAr: [,],ttAr: ['花潮', '论坛', 'LRC', '在线','HCP','Player'],lrc_css: 'top: 20px; left: 50%; transform: translateX(-50%);',player_css: 'bottom: 20px; left: calc(50% - 50px);',playerCode: `<style>#mplayer {--bg: linear-gradient(-20deg,lightblue,blue);position: absolute;width: 200px;height: 200px;cursor: pointer;filter: drop-shadow(10px 10px 20px hsla(0,0%,0%,.75));animation: rot 10s infinite linear;animation-play-state: paused;}#mplayer > span {position: absolute;width: 50%;height: 50%;border-radius: 0 100%;background: var(--bg);transform-origin: 98% 98%;}#btnMsg {--btnColor: white;--btnBg: #0089f0;position: absolute;color: var(--btnColor);background: var(--btnBg);opacity: 0;border: 2px solid var(--btnColor);border-radius: 8px;padding: 4px;transition: all .75s;cursor: pointer;z-index: 901;}#lrc {--motion: cover2;--tt: 1s;--state: running;--bg: linear-gradient(180deg, hsla(100, 10%, 50%, .75), hsla(100, 100%, 20%, .65));position: absolute;font: bold 2.4em sans-serif;color: hsl(100, 100%, 90%);white-space: pre;-webkit-background-clip: text;filter: drop-shadow(1px 1px 2px hsla(0, 100%, 0%, .85));z-index: 900;}#lrc::before {position: absolute;content: attr(data-lrc);width: 20%;height: 100%;color: transparent;overflow: hidden;white-space: pre;background: var(--bg);filter: inherit;-webkit-background-clip: text;animation: var(--motion) var(--tt) linear forwards;animation-play-state: var(--state);}@keyframes rot { to {transform: rotate(360deg); } }@keyframes cover1 { from { width: 0; } to { width: 100%; } }@keyframes cover2 { from { width: 0; } to { width: 100%; } }</style><div id="lrc"data-lrc="HCPlayer">HCPlayer</div><div id="mplayer"></div><span id="btnMsg">三月的阳光</span>`,};let playCode = (user_config) => {let data = Object.assign({}, defaults, user_config);papa.innerHTML += data.playerCode;mplayer.style.cssText += data.player_css;lrc.style.cssText += data.lrc_css;btnMsg.style.cssText += data.btn_css;let mKey = 0,mFlag = true,fs = false,tnow = Date.now(),timerId;let total = data.total || 5;Array.from({length:total}).forEach( (el,k) => {el = document.createElement('span');el.style.transform = `rotate(${360/total*k}deg)`;mplayer.appendChild(el);});mplayer.onclick = () => aud.paused ? aud.play() : aud.pause();btnMsg.onclick = () => fs ? document.exitFullscreen() : papa.requestFullscreen();papa.onmousemove = (e) => {clearTimeout(timerId);btnMsg.style.opacity = '.95';timerId = setTimeout('btnMsg.style.opacity = "0"', 3000);};document.addEventListener("fullscreenchange", () => {if (document.fullscreenElement !== null) {fs = true;btnMsg.innerText = '退出全屏';} else {fs = false;btnMsg.innerText = '三月的阳光';}});aud.addEventListener('pause', () => mState());aud.addEventListener('play', () => mState());aud.addEventListener('seeked', () => calcKey());let mState = () => aud.paused ? (lrc.style.setProperty('--state', 'paused'), mplayer.style.animationPlayState = 'paused') : (lrc.style.setProperty('--state', 'running'), mplayer.style.animationPlayState = 'running');aud.addEventListener('timeupdate', () => {for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime >= data.lrcAr) {if (mKey === j) showLrc(data.lrcAr);else continue;}}});let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = data.lrcAr;lrc.dataset.lrc = data.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 < data.lrcAr.length; j++) {if (aud.currentTime <= data.lrcAr) {mKey = j - 1;break;}}if (mKey < 0) mKey = 0;if (mKey > data.lrcAr.length - 1) mKey = data.lrcAr.length - 1;let time = data.lrcAr - (aud.currentTime - data.lrcAr);showLrc(time);};};mkPlayer.HCPlayer = playCode;})(this);
let lrcAr = [
['0.00', '《匆 匆》 ',7.65],
['8.05', '演唱:冰心',7.65],
['16.10', '编辑:三月的阳光',7.65],
['24.15', '千丝万缕彻夜不能眠',5.21],
['29.63', '月色多美你是否在看',4.57],
['34.44', '对你的眷恋已望眼欲穿',4.90],
['39.60', '你成了我甜蜜的梦魇',5.56],
['45.45', '相思如雨纷纷落满天',5.13],
['50.85', '此刻的你是否也孤单',4.42],
['55.50', '对你的思念被缓缓点燃',5.24],
['61.02', '你就是我戒不掉的烟',5.49],
['66.80', '匆匆的岁月带走匆匆的华年',4.64],
['71.68', '若还能偷偷多望你一眼',5.53],
['77.50', '还记得那年盛夏路过小河边',4.57],
['82.31', '忘不掉你那迷人的侧脸',5.57],
['88.17', '匆匆的时光留下匆匆的遗憾',4.47],
['92.88', '我多想你会留在我身边',5.53],
['98.70', '回忆里某个片段曾被你填满',4.94],
['103.90', '若永远定格在那一瞬间',25.60],
['130.85', '相思如雨纷纷落满天',5.25],
['136.38', '此刻的你是否也孤单',4.29],
['140.90', '对你的思念被缓缓点燃',5.09],
['146.26', '你就是我戒不掉的烟',5.47],
['152.02', '匆匆的岁月带走匆匆的华年',4.67],
['156.94', '若还能偷偷多望你一眼',5.60],
['162.83', '还记得那年盛夏路过小河边',4.54],
['167.61', '忘不掉你那迷人的侧脸',5.43],
['173.33', '匆匆的时光留下匆匆的遗憾',4.68],
['178.26', '我多想你会留在我身边',5.49],
['184.04', '回忆里某个片段曾被你填满',4.61],
['188.89', '若永远定格在那一瞬间',5.52],
['194.70', '匆匆的岁月带走匆匆的华年',4.69],
['199.64', '若还能偷偷多望你一眼',5.59],
['205.52', '还记得那年盛夏路过小河边',4.55],
['210.31', '忘不掉你那迷人的侧脸',5.34],
['215.93', '匆匆的时光留下匆匆的遗憾',4.69],
['220.87', '我多想你会留在我身边',5.42],
['226.58', '回忆里某个片段曾被你填满',4.74],
['231.57', '若永远定格在那一瞬间',4.85],
['236.67', '若永远定格在那一瞬间',4.5]
];
HCPlayer({
lrcAr: lrcAr,
lrc_css:`
--bg: linear-gradient(hsla(180,55%,40%,.15),hsla(200,90%,45%,.7));
top: 550px;
left: 38%;
color: snow;
`,
player_css: `
--bg: linear-gradient(-95deg,lightblue,blue);
width: 80px;
height: 80px;
bottom: 10px;
right: 50px;
filter: drop-shadow(3px 5px 0 yellow) drop-shadow(-3px -3px 0 gold);
`,
btn_css: '--btnColor: snow; --btnBg:none; bottom: 10px; left: 10px;',
});
})();</script> @三月的阳光 给嫩圈沙发哈做贴辛苦{:4_204:} 轻轻柔柔的,唱得真好听。这首翻唱和伴奏契合特别好。堪比原唱{:4_199:} 祝福冰心嫂子和阳光哥哥美好的一对{:4_187:} 红影 发表于 2023-7-3 22:33
轻轻柔柔的,唱得真好听。这首翻唱和伴奏契合特别好。堪比原唱
小阿枫 版的 听得时候感觉好听,学唱了哈 红影 发表于 2023-7-3 22:34
祝福冰心嫂子和阳光哥哥美好的一对
谢谢妹妹晚上好哈 冰心 发表于 2023-7-3 21:45
@三月的阳光 给嫩圈沙发哈做贴辛苦
来了,来听歌了~~{:4_187:} 红影 发表于 2023-7-3 22:34
祝福冰心嫂子和阳光哥哥美好的一对
谢谢影子妹妹~~{:4_187:} 冰心 发表于 2023-7-3 21:45
@三月的阳光 给嫩圈沙发哈做贴辛苦
怎么没有歌词了? 现在有了 冰心 发表于 2023-7-3 22:40
小阿枫 版的 听得时候感觉好听,学唱了哈
很喜欢这样轻柔的歌儿,特别好听{:4_187:} 冰心 发表于 2023-7-3 22:40
谢谢妹妹晚上好哈
抱抱,好久没见了哈{:4_179:} 三月的阳光 发表于 2023-7-3 22:43
谢谢影子妹妹~~
应该谢谢冰心嫂子带来的好歌才是呢{:4_173:} 三月的阳光 发表于 2023-7-3 22:42
来了,来听歌了~~
嗯嗯 一起听 红影 发表于 2023-7-3 22:53
很喜欢这样轻柔的歌儿,特别好听
嗯哪我也是听第一遍的时候,就觉得好听哈 红影 发表于 2023-7-3 22:54
抱抱,好久没见了哈
遥抱我好久没玩了 冰心 发表于 2023-7-3 23:25
嗯哪我也是听第一遍的时候,就觉得好听哈
唱自己喜欢的歌儿,也是种美妙的享受{:4_185:} 冰心 发表于 2023-7-3 23:25
遥抱我好久没玩了
但依然还是那么温婉,让人心生亲近之感{:4_179:} 唱得轻轻柔柔,深情款款的,真是动了真情哈{:4_204:} 问好老师,欣赏精彩佳作,点赞!{:4_204:}