《无他-阮与大提琴的对话》 - 邸扬&许玉莲
本帖最后由 亦是金 于 2023-8-28 17:03 编辑 <br /><br /><div class="cont-area"><div style="width: 1200px;height: 710px;box-shadow:0px 0px 1px 2px #045768, 0px 0px 0px 8px #99e5f5,0px 0px 5px 15px #045768;overflow:hidden;border-radius:1%;margin-top:20px;margin-LEFT: -310px;">
<div style="position:relative;width: 1200px;height: 710px;overflow:hidden;top: 0px;left: 0px;">
<div style="left: 0px;position:absolute;top: 0px;">
<div style="z-index: !;width: 1350px; height: 710px; top:0px; left:0px; overflow: hidden;transform:rotate(0deg);background-size: 100% 100%;background-image:url(); text-align: center;">
<metaname="referrer" content="never">
<video frameborder="0" src="
https://img.tukuppt.com/video_show/3664703/00/02/03/5b4f3de318be2.mp4" autoplay muted loop="" controls="" style="position:absolute;left:-20px;top:-50px;background:#000 ;width:1400px; height: 830px;>
<div style="color:#f88;font-size:2.5em;margin-left:560px;top:0px;"></div>
<img class=&lazyload bg-gif" src="https://z3.ax1x.com/2021/08/26/hujGMd.gif" data-original="" title="" alt="" style="z-index: 1;POSITION: relative; TOP: -160px;LEFT:200px;height: 70px; margin: 0px;border-radius:3%background-color: rgb(255, 255, 255); display: block;">
</div>
</style>
</div>
<style type="text/css">
@keyframes mv { from { background-position: 1200px 0; } to { background-position: 0 0; } }
body { overflow-x: hidden; }
#baiBox {
margin: auto;
width: 800px;
text-align: center;
font-family:微软简中圆;
font-size: 2.5rem;
font-weight: bold;
color: #f46ff6;
transform-origin: top;
animation: yao 1.0s linear infinite alternate;
}
@keyframes yao {
from{transform: perspective(800px) rotatex(30deg); }
to { transform: perspective(800px) rotatex(-30deg); }
}
.tit {
position: relative;
width: 300px;
height: 30px;
top:-690px;
LEFT: -330px;
z-index: 100;
filter: drop-shadow(-1px 1px 1px #ffffff)drop-shadow(0px -1px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)
}
#tit:hover { color: green; }
</style>
<div id="hu" >
<div id="baiBox"
<div class="tit">
<span style="color:#fb52f9;"><span style="font-size:26px;">《无他-阮与大提琴的对话》</span>
<span style="color:#3d46f7;"><span style="font-size:18px;"> -邸扬&许玉莲</span></div>
<div style="position: relative;width: 500px;height: 50px;top:-90px;LEFT: 972px;z-index: 100;filter: drop-shadow(-1px 1px 1px #e8f552)drop-shadow(0px -1px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)">
<p><span style="color:#ff0000;"><span style="font-family:华文隶书;"><span style="font-size:26px;">亦是金在线音乐</span></span></span></p></div>
</style>
<div style="position: relative; top:-760px;LEFT: 0px;z-index: 12435;">
<style type="text/css">
.lyricDisp{-webkit-text-stroke:1.5px #ffffff;font: bold 2.0em悟空大字库, sans-serif; transition:.3s all ease;font-size:2.0em;}
.lyricDisp:nth-child(1){color:#000080;text-align:left;--aniName:bgMove1;--durTime:100ms;--aniPlayState:running;}
.lyricDisp:nth-child(1)::before{position:absolute;content:attr(data-lrc);width:0;height:100%;left:0;top:0;color: transparent;background: linear-gradient(45deg, #F32121 32%,#8EE73C 43%,#FEFFFF 52%,#091CFD 62%,#36F4B1 75%);-webkit-background-clip: text;-webkit-text-stroke:2px #000000;filter: contrast(110%)brightness(160%);overflow:hidden;white-space:nowrap;animation:var(--aniName) var(--durTime) linear forwards;animation-play-state:var(--aniPlayState);}
.lyricDisp:nth-child(2){color:blue;text-align:center;font-size:0em;}@keyframes bgMove1{from{width:0;}to{width:100%;}}@keyframes bgMove0{from{width:0;}to{width:100%;}}
#LRCShow{position:absolute;left:280px;bottom:0px;width:75%;height:120px;margin:6px auto position:relative;}
#rdisk{position:absolute;left:50px;bottom:50px;border-radius: 50%;font-size:4em;color:red;animation:circleSmall2 10s linear infinite;animation-play-state:paused;cursor:pointer;}
@keyframes circleSmall2{0%{transform:rotateX(0deg) rotateY(20deg) rotateZ(360deg);}100%{transform:rotateX(0deg) rotateY(20deg) rotate(0deg);}}
#ground3rd{
width:1200px;height:700px;
position:absolute;font-size:16px;
overflow:hidden;border-radius:0px;
margin:5px 0px 30px -5px;
background:url(https://s4.ax1x.com/2022/03/05/bwbPNq.jpg);
background-position:center;
background-size: cover;
perspective: 1200px;
}
#mpic {
position: absolute;
transform: rotateY(0deg);
top: 0px;
left: 0px;
width: 1200px;
height: 700px;
animation: rote 80s linear infinite;
cursor: pointer;
opacity: 1;
}
@keyframes rote {
from {
background-position: 0 0;
filter: hue-rotate(360deg)
}
to {
background-position: -1730px 300px;
}
}
#mpic1 {
position: absolute;
transform: rotateY(0deg);
top: 0px;
left: 0px;
width: 1200px;
height: 700px;
animation: rotet 100s linear infinite;
cursor: pointer;
opacity: 1;
}
@keyframes rotet {
from {
background-position: 0 0;
filter: hue-rotate(360deg)
}
to {
background-position: 0px -1730px;
}
}
#songList li {
cursor: pointer;
color: #ffffff;
font:thick微软雅黑;
font-size:20px;
line-height:30px
}
</style>
<div id="ground3rd">
<div class="itemm">
<div style="width: 1200px;height: 700px;box-shadow:0px 0px 1px 2px #045768, 0px 0px 0px 8px #99e5f5,0px 0px 5px 15px #045768;overflow:hidden;border-radius:1%;margin-top:0px;margin-LEFT: 0px;">
<div style="position:relative;width: 1200px;height: 700px;overflow:hidden;top: 0px;left: 0px;">
<div style="left: 0px;position:absolute;top: 0px;">
</div>
<ol id='songList' style="color:red;position:absolute;top:40px;left:50px;"></ol>
<div id="rdisk"style="width:200px;height:180px;border: 0px solid #000000;
background: url('https://pic2.imgdb.cn/item/645635560d2dde5777efbe1f.gif')0 0/100% 100%;
mask: radial-gradient(transparent 7px,#red 0);transform: rotateX(45deg) rotateY(20deg) rotate(0deg);"></div>
<div id="LRCShow"></div>
</div>
<!-- 下面一句是存放歌词的标签 -->
<textarea style="visibility:hidden;" id='lrcContent0'></textarea>
<script type="text/javascript">
var lrcPlayer2=function(){return this.init.apply(this,arguments)};lrcPlayer2.prototype={constructor:lrcPlayer2,init:function(opts){this.lyricTxtObj=document.getElementById(opts.lrcTxtID);lyricTxt=this.lyricTxtObj.innerHTML;this.showLrcObj=document.getElementById(opts.lrcShowID);this.gclines=new Array();for(k=0;k<2;k++){this.gclines=document.createElement('div');this.gclines.className='lyricDisp';this.showLrcObj.appendChild(this.gclines)}this.audioCtrl=document.getElementById(opts.audioCtrl);this.handleLrc(lyricTxt);this.genPlayer(opts.audioURL)},handleLrc:function(lyricTxt){this.lrcVec=new Array();var lyriclist=lyricTxt.split(/\r|\n|\r\n/);for(n=0;n<lyriclist.length;n++){chkTime=lyriclist.match(/\[\d{1,2}:\d{2}.\d{1,3}\]|\[\d{1,2}:\d{2}\]/g);if(chkTime){tIdx=lyriclist.lastIndexOf(']');if(tIdx>0)lrcTxt=lyriclist.substr(tIdx+1);for(m=0;m<chkTime.length;m++){ta=chkTime.substr(1).replace(']','').split(/:/);_t=(+ta)*60+(+ta);if(this.lrcVec.length==0&&_t!=0){this.lrcVec.push()}this.lrcVec.push()}}}this.lrcVec.sort(function(a,b){return(a-b)})},showLrc:function(durTime){this.gclines.innerHTML=this.gclines.dataset.lrc=this.lrcVec.length>0?this.lrcVec:"\u3000";this.gclines.style.setProperty('--aniName','bgMove'+(this.idx%2));this.gclines.style.setProperty('--durTime',durTime+'ms');this.gclines.style.setProperty('--aniPlayState','running')},genPlayer:function(mUrl){this.mObj=document.createElement("audio");this.mObj.loop=false;this.mObj.muted=false;this.mObj.src=mUrl;this.showLrcObj.appendChild(this.mObj);this.idx=0;var that=this;this.mObj.addEventListener('ended',function(){that.idx=0});this.mObj.addEventListener('playing',function(){that.audioCtrl.style.animationPlayState='running';that.gclines.style.setProperty('--aniPlayState','running')});this.mObj.addEventListener('pause',function(){that.audioCtrl.style.animationPlayState='paused';that.gclines.style.setProperty('--aniPlayState','paused')});this.mObj.addEventListener('error',function(){console.log("audio wrong, remove play start event");that.showLrcObj.style.display='none';that.showLrcObj.removeChild(this)});this.mObj.addEventListener('timeupdate',function(){if(this.currentTime>that.lrcVec){if(that.idx<(that.lrcVec.length-1)){that.showLrc((that.lrcVec-that.lrcVec)*950)}else{that.showLrc((this.duration-that.lrcVec)*950)}if(that.idx+1==that.lrcVec.length){that.gclines.innerHTML=""}else{that.gclines.innerHTML=that.lrcVec}that.idx++}});this.audioCtrl.onclick=function(){if(that.mObj.paused){that.mObj.play()}else{that.mObj.pause()}};try{this.mObj.play()}catch(err){console.log(err.message)}},stopMusic:function(){this.mObj.pause();this.mObj.controls=false;},setAudioUrl:function(mUrl){this.mObj.src=mUrl},isMusicEnd:function(){return this.mObj.ended},reStart:function(){this.idx=0;this.mObj.play()}}
</script>
<script type="text/javascript">
(function() {
songParas = [
["一生所爱","","https://music.163.com/song/media/outer/url?id=1434080129",`正播放:一生所爱 (邸扬/许玉莲)`],
["四面楚歌","","https://music.163.com/song/media/outer/url?id=1434080122",`正播放:四面楚歌 (邸扬/许玉莲)`],
["布列瑟农","","https://music.163.com/song/media/outer/url?id=1434080128",`正播放:布列瑟农 (邸扬/许玉莲)`],
["黄河谣","","https://music.163.com/song/media/outer/url?id=1434080123",`正播放:黄河谣 (邸扬/许玉莲)`],
["只要为你活一天","","https://music.163.com/song/media/outer/url?id=1434080130",`正播放:只要为你活一天 (邸扬/许玉莲)`],
["佳人曲","","https://music.163.com/song/media/outer/url?id=1434080125",`正播放:佳人曲 (邸扬/许玉莲)`],
["红雪莲","","https://music.163.com/song/media/outer/url?id=1434078479",`正播放:红雪莲 (邸扬/许玉莲)`],
["萨巴女王","","https://music.163.com/song/media/outer/url?id=1434080126",`正播放:萨巴女王 (邸扬/许玉莲)`],
["送别","","https://music.163.com/song/media/outer/url?id=1434078480",`正播放:送别 (邸扬/许玉莲)`],
["莎丽花园","","https://music.163.com/song/media/outer/url?id=1434080124",`正播放:莎丽花园 (邸扬/许玉莲)`],
["阮三重奏(游北京) ","","https://music.163.com/song/media/outer/url?id=1434080127",`正播放:阮三重奏(游北京) (邸扬/许玉莲)`],
];
var opts = {
lrcTxtID:'lrcContent0',
lrcShowID:"LRCShow",
audioURL:"https://www.qqmc.com/up/kwlink.php?id=60010502&.mp3",
audioCtrl:'rdisk'
};
var km = null;
var idx = 0;
let songList = document.getElementById('songList');
for(n = 0; n < songParas.length; n++) {
let item = document.createElement('li');
item.id = 's'+n;
item.innerHTML = songParas;
songList.appendChild(item);
}
items = songList.getElementsByTagName('li');
for(n = 0 ; n < items.length; n++) {
items.onclick=function() {
idx = parseInt(this.id.substr(1));
document.getElementById('ground3rd').style.backgroundImage = `url(${songParas})`;
if(km){
km.stopMusic();
//km = null;
km.handleLrc(songParas);
km.setAudioUrl(songParas);
km.reStart();
}
else {
document.getElementById(opts.lrcTxtID).innerHTML = songParas;
opts.audioURL=songParas;
km = new lrcPlayer2(opts);
}
}
}
items.click();
setInterval(() => {
if(km) {
items = songList.getElementsByTagName('li');
if(km.isMusicEnd()) {
idx++; idx %= items.length;
items.click();
}
}
//setTimeout(isSongEnded, 500);
}, 500);
})();
</script>
这么多好曲子,每一首切换都很方便。亦是金老师辛苦了,带来这么多美妙的音乐盛宴{:4_187:} 视频和动态播放器按钮都很漂亮。唯一不足的是暂停时这些动态都无法暂停。但仍然很漂亮。收集这么多音乐也不容易。给亦是金老师点赞{:4_199:} 红影 发表于 2023-5-17 09:05
这么多好曲子,每一首切换都很方便。亦是金老师辛苦了,带来这么多美妙的音乐盛宴
问好红影!谢谢欣赏点赞!{:4_187:} 红影 发表于 2023-5-17 09:06
视频和动态播放器按钮都很漂亮。唯一不足的是暂停时这些动态都无法暂停。但仍然很漂亮。收集这么多音乐也不 ...
暂停时停止动画的操作,不知道怎么实现,我去捣鼓捣鼓,看看能成功否! 一边欣赏美妙的琴声一边观动态美景,简直不要享受了{:4_190:} 亦是金老师也是咱花潮著名视频音乐品牌了{:4_204:} 亦是金 发表于 2023-5-17 09:32
问好红影!谢谢欣赏点赞!
问好亦是金老师,再听会好音乐{:4_187:} 亦是金 发表于 2023-5-17 09:37
暂停时停止动画的操作,不知道怎么实现,我去捣鼓捣鼓,看看能成功否!
记得停止视频挺方便的,停止动画有点难的{:4_173:} 欣赏佳作,问候亦是金。 亦是金老师辛苦了,感谢您带来这么多美妙的音乐。{:4_190:} 樵歌 发表于 2023-5-17 09:41
一边欣赏美妙的琴声一边观动态美景,简直不要享受了
问好!谢谢欣赏鼓励!{:4_190:} 樵歌 发表于 2023-5-17 09:43
亦是金老师也是咱花潮著名视频音乐品牌了
谢谢樵歌的推举!我有点飘飘然了!{:4_189:} 红影 发表于 2023-5-17 10:15
记得停止视频挺方便的,停止动画有点难的
是的,没有头绪!{:4_203:} 梦油 发表于 2023-5-17 10:21
欣赏佳作,问候亦是金。
问好朋友!谢谢欣赏!{:4_190:} 梦缘 发表于 2023-5-17 11:06
亦是金老师辛苦了,感谢您带来这么多美妙的音乐。
问好梦缘!祝你欣赏愉快!{:4_187:} 亦是金 发表于 2023-5-17 12:54
是的,没有头绪!
以前做过停止动态用静态图来代替,后来好像黑黑带来了绘制动图,这个可以停止在任何一个动态时刻上。 亦是金 发表于 2023-5-17 12:55
问好朋友!谢谢欣赏!
亦是金朋友别客气。 亦是金 发表于 2023-5-17 12:50
问好!谢谢欣赏鼓励!
晚上好! 亦是金 发表于 2023-5-17 12:52
谢谢樵歌的推举!我有点飘飘然了!
本来就精典麻
页:
[1]