亚伦影音工作室 发表于 2022-6-27 22:55

浓情爱不完 (DJ何鹏) - 孙艺琪&张津涤[木马旋转]

本帖最后由 亚伦影音工作室 于 2022-6-28 15:57 编辑 <br /><br /><style>
.papa { width: 1000px; height: 600px; margin-top:30px; margin-left:-130px;box-shadow: 0px 0px 0px 2px #cccccc, 0px 0px 0px 15px #880000; overflow: hidden;background:url(http://chuangshicdn.data.mvbox.cn/album/22/03/04/22030409205677912653.gif)0 0px/100% 100%, linear-gradient(0deg, #000080, #883300, #882222, #000000); text-align: center;position: relative;z-index: 100; }
.papa input { border: none; outline: none; opacity: 1; cursor: pointer; position: relative;}
.papa p { margin: 0; padding: 0; }
.playbox { position: relative; left: 0px; top: 480px; padding: 10px;text-align: center;font: normal 3em sans-serif; color: #ff0000; font-family:华文隶书; overflow: hidden;filter:drop-shadow(#ffffff 1px 0 0)drop-shadow(#ffffff 0 1px 0)drop-shadow(#ffffff -1px 0 0) drop-shadow(#ffffff 0 -1px0); z-index: 30;}
#btnplay { width: 30px; height: 30px; border-radius: 50%;position: relative; z-index: 30;}
#btnplay:hover { background: #aaa; color: #ff0000;position: relative;z-index: 30; }

</style>
<style type="text/css">
#mm img{   width:180px;
                height: 275px;
                position: absolute;
                left:0px;
                    top:-80px;z-index: 30;
                box-shadow:0px 0px 0px 2px #000000, 0px 0px 0px 8px #cccccc;
                background-size:100% 100%;
               
               border-radius: 0px;
            }
            #mm img:nth-child(1){
                transform:translateZ(350px);}
            #mm img:nth-child(2){
                transform: rotateY(40deg) translateZ(350px);
            }
            #mm img:nth-child(3){
                transform: rotateY(80deg) translateZ(350px);
            }
            #mm img:nth-child(4){
                transform: rotateY(120deg) translatez(350px);
            }
            #mm img:nth-child(5){
                transform: rotateY(160deg) translatez(350px);
            }
            #mm img:nth-child(6){
                transform: rotateY(200deg) translatez(350px);
            }
            #mm img:nth-child(7){
                transform: rotateY(240deg) translatez(350px);
            }
            #mm img:nth-child(8){
                transform: rotateY(280deg)translatez(350px);
            }
            #mm img:nth-child(9){
                transform: rotateY(320deg) translatez(350px);
            }
            #mm img:nth-child(1):hover{
                transform: translateZ(350px)scale(1.8);-webkit-filter: grayscale(60%);}
            #mm img:nth-child(2):hover{
                transform: rotateY(40deg) translateZ(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(3):hover{
                transform: rotateY(80deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(4):hover{
                transform: rotateY(120deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(5):hover{
                transform: rotateY(160deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(6):hover{
                transform: rotateY(200deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(7):hover{
                transform: rotateY(240deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(8):hover{
                transform:rotateY(280deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm img:nth-child(9):hover{
                transform: rotateY(320deg) translatez(350px)scale(1.8);-webkit-filter: grayscale(60%);
            }
            #mm:hover{
            animation-play-state: paused;
               }
            #mm{
                margin: 160px auto;
                width: 180px;
                height: 275px;
                transform-style: preserve-3d;
                animation-name: animate;
                animation-duration: 30s;
                animation-iteration-count: infinite;
                animation-timing-function: linear;
                position: relative;
            }
            @keyframes animate{
                from {
                  transform: rotatex(-8deg) rotateY(0deg);
                }
50% {
                  transform: rotatex(8deg) rotateY(-360deg);
                }
                to {
                  transform: rotatex(-8deg) rotateY(0deg);
                }
            }


}
</style>

<style type="text/css">.bs{animation: slider0 0.01s linear infinite ;}
@keyframes slider0 {0%,100%{margin: 0px 0px;filter:hue-rotate(360deg)drop-shadow(0px 0px 2px #CD6600) drop-shadow(0px 0px 2px #CD6600)drop-shadow(0px 0px 2px #CD6600)brightness(100%);}50%{margin: 0px 0px;filter:hue-rotate(0deg)drop-shadow(0px 0px 2px #000090)drop-shadow(0px 0px 2px #000090)drop-shadow(0px 0px 2px #000090)brightness(100%);}}
</style>
<div class="papa" >


<div class="bs"style="position: relative; left: 0px; top: 0px;z-index: 30;">
      <div class="playbox">
                <p id="geci">缓冲中 ... </p>   </div></div>

<div id="mm" ><img src="http://chuangshicdn.data.mvbox.cn/album/22/03/08/22030813033396425854.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815443532993805.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815463460687304.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815451885121777.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815455806897829.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815472811771500.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815502489089164.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/06/28/22062815494257791331.jpg" /> <img src="http://chuangshicdn.data.mvbox.cn/album/22/03/08/22030809084815658195.jpg" /></div>

                <p style="padding: 0;margin: -100px 220px;z-index: 30;">
                        <input id="btnplay" type="button" value="II" />
                        <input id="slider" type="range" min="0" max="100" value="0"style="width: 400px; height: 4px;padding: 0;margin: 0px 0px;position: relative;z-index: 30;" />
                        <span id="per" style="width: 130px; height: 6px;padding: 0;margin: 20px 0px;font-size: 20px;color: #ffffff;position: relative;z-index: 30;">0:0 | 0:0</span>
                </p>

      <audio id="aud" src="https://www.qqmc.com/up/kwlink.php?id=61478565.mp3" autoplay="autoplay" loop="loop"></audio>

   

</div>


<script>

let slider = document.querySelector('#slider'),
      aud = document.querySelector('#aud'),
      per = document.querySelector('#per'),
      btnplay = document.querySelector('#btnplay'),
      geci = document.querySelector('#geci');
let slip = 0; //误差值
let lrcAr = [
        ['1.00','浓情爱不完 (DJ何鹏) - 孙艺琪&张津涤'],
        ['37.00','男:我把承诺刻上海枯石烂'],
        ['41.00','女:我把誓言许在月下花前'],
        ['45.00','男:这些年的相约初衷不变'],
        ['50.00','女:多少愿望我们终于兑现'],
        ['54.00','男:你的眷恋曾经心头眉间'],
        ['58.00','女:我的牵绊总是悱恻缠绵'],
        ['63.00','男:这些年的相知羞启于关'],
        ['67.00','女:多少沧桑我们合力承担'],
        ['71.00','男:我对你的浓情爱不完'],
        ['76.00','携手走过俗世的情关'],
        ['80.00','女:让简单的日子过得惊艳'],
        ['85.00','每分每秒都有温柔缱绻'],
        ['89.00','男:我对你的浓情爱不完'],
        ['93.00','漫步红尘幸福到很远'],
        ['97.00','女:让风雨的同舟归于平凡'],
        ['102.00','每时每刻都用真心陪伴'],
        ['141.00','男:你的眷恋曾经心头眉间'],
        ['145.00','女:我的牵绊总是悱恻缠绵'],
        ['150.00','男:这些年的相知羞启于关'],
        ['154.00','女:多少沧桑我们合力承担'],
        ['159.00','男:我对你的浓情爱不完'],
        ['163.00','携手走过俗世的情关'],
        ['167.00','女:让简单的日子过得惊艳'],
        ['172.00','每分每秒都有温柔缱绻'],
        ['176.00','男:我对你的浓情爱不完'],
        ['180.00','漫步红尘幸福到很远'],
        ['185.00','女:让风雨的同舟归于平凡'],
        ['189.00','每时每刻都用真心陪伴'],
        ['194.00','男:我对你的浓情爱不完'],
        ['198.00','携手走过俗世的情关'],
        ['202.00','女:让简单的日子过得惊艳'],
        ['207.00','每分每秒都有温柔缱绻'],
        ['211.00','男:我对你的浓情爱不完'],
        ['215.00','漫步红尘幸福到很远'],
        ['220.00','女:让风雨的同舟归于平凡'],
        ['224.00','每时每刻都用真心陪伴']
];

slider.onmousedown = () => aud.pause();
slider.onchange = () => { aud.currentTime = slider.value * aud.duration / 120; aud.play(); }
btnplay.onclick = () => aud.paused ? aud.play() : aud.pause();
aud.addEventListener('playing', () => btnplay.value = 'II');
aud.addEventListener('pause', () => btnplay.value = '>');

aud.addEventListener('timeupdate', () => {
      let prog = 100 * aud.currentTime / aud.duration;
      slider.value = prog;
      per.innerText = toMin(aud.currentTime) + ' | ' + toMin(aud.duration);
                for(j=0; j<lrcAr.length; j++){
                if(aud.currentTime >= lrcAr - slip){
                        geci.innerHTML = lrcAr;
                }
      }
});

let toMin = (sec) => {
      if(!sec) return '0:00';
      sec = parseInt(sec);
      return parseInt(sec / 60) + ':' +parseFloat(sec % 60).toString().padStart(2,'0');
}

</script>

亚伦影音工作室 发表于 2022-6-27 23:03

本帖最后由 亚伦影音工作室 于 2022-6-28 15:31 编辑

若音画异常请朋友们及时反馈!此音画特点:点击按钮音乐歌曲暂停;点击图片有放大效果!

可能出现的问题:图片不显示。音乐地址失效。

翁奕童苑 发表于 2022-6-28 10:05

亚伦影音工作室 发表于 2022-6-27 23:03
若音画异常请朋友们及时反馈!此音画特点:点击按钮音乐歌曲暂停;点击图片有放大效果!

图片不显示。

红影 发表于 2022-6-28 15:37

图片看不到呢。好像不用点击,鼠标移动上去,图片的位置就会放大。{:4_187:}

亚伦影音工作室 发表于 2022-6-28 15:41

红影 发表于 2022-6-28 15:37
图片看不到呢。好像不用点击,鼠标移动上去,图片的位置就会放大。

立即改动!谢谢!

红影 发表于 2022-6-28 21:09

亚伦影音工作室 发表于 2022-6-28 15:41
立即改动!谢谢!

看到了,亚伦老师好漂亮的制作{:4_187:}
页: [1]
查看完整版本: 浓情爱不完 (DJ何鹏) - 孙艺琪&张津涤[木马旋转]