小辣椒 发表于 2026-2-24 23:26

【花潮贺岁】致曾经

<style>
#papa { margin: 130px 0 20px calc(50% - 721px); width: 1280px; height: 650px; background: lightblue url('https://wj.zp68.com/lxx/yunhua/2022/12/11/3.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; position: relative; display: grid; place-items: center; overflow: hidden; z-index: 1; }
#papa::before { position: absolute; content: '';background: url('https://wj.zp68.com/lxx/yunhua/2022/12/11/1IF.gif') no-repeat center/cover; opacity: .65; width: 100%; height: 100%; animation: scale 8s infinite alternate linear; }
.mLine:nth-of-type(odd) { background: linear-gradient(to top,green,DarkCyan); }
.mLine::before { position: absolute; content: ''; width: 100%; height:6px; border-radius: 50%; background: lightblue; top: 0; animation: up 1.2s infinite alternate linear; }
@keyframes up{ to {top: -40px; } }
@keyframes scale { to {transform: scale(1.2); } }
</style>

<div id="papa"></div>
<audio id="aud" src="https://wj.zp68.com/lxx/yunhua/2022/12/11/zcj.mp3" loop autoplay></audio>

<script>
(function() {
        (function(mkPlayer) {let defaults = {lrcAr: [],ypData: new Array(500).fill(0).map((v, k) => Math.floor(Math.random() * 200) + 10),pinpu: {size: 4, gap: 2,},player_css: '',lrc_css: '',playerCode: `<style>#mplayer {--ww: 300px;--hh: 140px; --color1: darkgreen; --color2: snow);position: absolute;bottom: 10px;width: var(--ww);height: var(--hh);display: flex;justify-content: center;align-items: flex-end;cursor: pointer;}.mLine {position: relative;margin: 0 1px 0 1px;width: 4px;height: 8px;background: linear-gradient(to top,var(--color1),var(--color2));transition: .35s;opacity: .95;}#lrc {--motion: cover2;--tt: 2s;--state: paused;--bg: linear-gradient(180deg, hsla(120, 50%, 50%, .45), hsla(120, 100%, 50%, .75));position: absolute;top: 80px;font: bold 2.2em sans-serif;color: hsl(0, 10%, 90%);white-space: pre;-webkit-background-clip: text;filter: drop-shadow(1px 1px 2px hsla(0, 0%, 0%, .95));} #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 cover1 {from {width: 0;} to {width: 100%;}}@keyframes cover2 {from {width: 0;} to {width: 100%;}}</style><div id="mplayer"></div><div id="lrc" data-lrc="HCPlayer">HCPlayer</div>`,};let playCode = (user_config) => {let data = Object.assign({}, defaults, user_config);papa.innerHTML += data.playerCode;mplayer.style.cssText += data.player_css;mplayer.onclick = () => aud.paused ? aud.play() : aud.pause();aud.loop = false;let ppsize = data.pinpu.size || 4, gap = data.pinpu.gap || 2;let total = Math.ceil(mplayer.offsetWidth / (ppsize + gap));let mKey = 0,ppnum = 0, mFlag = true;for (j = 0; j < total; j++) {let el = document.createElement('span');el.className = 'mLine';el.style.width = ppsize + 'px';el.style.marginLeft = el.style.marginRight = gap/2 + 'px';mplayer.appendChild(el);}let lines = document.querySelectorAll('.mLine');let max = Math.max.apply(null, data.ypData);let divide = max / mplayer.offsetHeight, coe = 20 / total / 2, plus;aud.addEventListener('pause', () => mState());aud.addEventListener('playing', () => { mState(); update(); });aud.addEventListener('ended', () => { mKey = 0; ppnum = 0; aud.play(); });aud.addEventListener('timeupdate', () => {ppnum++;if (ppnum >= data.ypData.length) ppnum = 0;update();for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime >= data.lrcAr) {cKey = j;if (mKey === j) showLrc(data.lrcAr);else continue;}}});let update = () => lines.forEach((item, key) => {plus = (key < total / 2 ? key : total - key) * coe * 10;item.style.setProperty('height', Math.random() * (data.ypData - 30) / divide + plus + 'px');});let mState = () => aud.paused ? lrc.style.setProperty('--state', 'paused') : lrc.style.setProperty('--state', 'running');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;};};mkPlayer.HCPlayer = playCode;})(this);
        let lrcAr = [      
                ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,];
        ypData = ;
        HCPlayer({
                lrcAr: lrcAr,
                ypData: ypData,
                lrc_css: '',
                player_css: '--ww: 100%; --hh: 240px; --color1: SkyBlue; --color2: Yellow; bottom: 0;',
                pinpu: {size: 6,gap: 2},
        });
})();
</script>

小辣椒 发表于 2026-2-24 23:26

继续玩以前的播放器,大家一起欣赏

偶然~ 发表于 2026-2-24 23:32

小辣椒美女制作的这个音画《致曾经》绝对是【花潮贺岁】里最戳人的暖心作品之一!

偶然~ 发表于 2026-2-24 23:34

画面里身着红裙的女子自带沉静氛围感,搭配“你已不再是曾经的你”的文字,瞬间把人拉进与过往温柔告别的思绪里,歌名“致曾經”的落款更添了一份郑重的仪式感。

偶然~ 发表于 2026-2-24 23:35

音画的搭配精准拿捏了怀旧又释然的基调,让人沉浸其中,回味悠长。

小辣椒 发表于 2026-2-24 23:37

偶然~ 发表于 2026-2-24 23:34
画面里身着红裙的女子自带沉静氛围感,搭配“你已不再是曾经的你”的文字,瞬间把人拉进与过往温柔告别的思 ...

想到自己的曾经没有?曾经吵架。。。。。{:4_170:}

小辣椒 发表于 2026-2-24 23:37

偶然~ 发表于 2026-2-24 23:35
音画的搭配精准拿捏了怀旧又释然的基调,让人沉浸其中,回味悠长。

谢谢偶然欣赏,每次都有高水平的回帖{:4_199:}

偶然~ 发表于 2026-2-24 23:38

小辣椒制作的播放器很细腻,让人感动!愿你新的一年继续制作更多触动人心的作品!

偶然~ 发表于 2026-2-24 23:38

转眼新年到初八,
祝愿我们马上发。
发家致富勤为本,
金银财宝往家滚。
各行各业均兴旺,
幸福指数标升上。
囯家经济向上翻,
有国才有温馨家。

小辣椒 发表于 2026-2-24 23:38

偶然~ 发表于 2026-2-24 23:32
小辣椒美女制作的这个音画《致曾经》绝对是【花潮贺岁】里最戳人的暖心作品之一!

偶然早点休息吧,我先下了。

偶然~ 发表于 2026-2-24 23:39

小辣椒 发表于 2026-2-24 23:37
想到自己的曾经没有?曾经吵架。。。。。

去岁顺遂心自宽,如意之事映笑颜。
今朝称心万事遂,福报财气伴身边。
顺星高照前程美,吉星永驻乐无边。
岁岁平安福运至,称心如意永团圆。

偶然~ 发表于 2026-2-24 23:39

小辣椒 发表于 2026-2-24 23:38
偶然早点休息吧,我先下了。

新岁启封迎瑞光,
心中有梦路绵长。
一川平顺乾坤朗,
万马奔腾意气昂。
散去烦忧风送爽,
踏来好运喜赓扬。
三餐四季福常在,
祈愿安康乐未央。

樵歌 发表于 2026-2-25 08:21

我还以为是送小曾的歌呢{:4_172:}原来是一首歌名。

樵歌 发表于 2026-2-25 08:21

绝对的音乐发烧友{:4_172:}

红影 发表于 2026-2-25 09:25

这个太好看了,各种元素运用得十分恰当,让帖子整体那么和谐,歌曲也好听。
欣赏亲爱的好帖{:4_199:}

也曾年轻 发表于 2026-2-25 09:47

https://q0.itc.cn/q_70/images03/20250126/977712507b08412cbc336e02e92afea1.gif

梦江南 发表于 2026-2-25 11:26

欣赏小辣椒的音画,有一种特别深情的味道。让人共情!{:4_187:}

梦江南 发表于 2026-2-25 11:28

大年初九了,阿姨在此祝你身体健康久久,无灾无难,长长久久,平安喜乐常相伴。{:4_204:}{:4_185:}

小辣椒 发表于 2026-2-25 22:27

樵歌 发表于 2026-2-25 08:21
我还以为是送小曾的歌呢原来是一首歌名。

哈哈,樵哥哥你太好玩了{:4_170:}

小辣椒 发表于 2026-2-25 22:29

樵歌 发表于 2026-2-25 08:21
绝对的音乐发烧友

很喜欢的一首现实版音乐{:4_208:}
页: [1] 2
查看完整版本: 【花潮贺岁】致曾经