【向荣音画】望西方
本帖最后由 向荣春 于 2025-1-4 23:43 编辑 <br /><br /></div></div><div class="pct"><style type="text/css">.pcb{margin-right:0}</style><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_9580260">
<div class="t_fsz"><table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_342895">
<style>
#mydiv {
margin: 130px 0 30px calc(40% - 781px);
width: 1600px;
height: 900px;
background: url('https://www.dlbbs.com/data/attachment/forum/202412/29/132530ucuoodoc3vli6777.jpg') no-repeat center/cover;
box-shadow: 3px 3px 8px #000, 0 0 0 2px silver;
overflow: hidden;
z-index: 1;
position: relative;
}
#player {
position: absolute;
left: 10px;
top: 10px;
width: 160px;
height: 160px;
transition: 3s;
filter: invert(1) drop-shadow(10 0 24px ForestGreen);
cursor: pointer;
animation: rot 5s linear infinite var(--state);
}
#player:hover { filter: invert(.8) drop-shadow(0 0 24px red); }
#vid {
position: absolute;
bottom: 0;
width: 100%;
height: calc(100% + 100px);
object-fit: cover;
pointer-events: none;
mix-blend-mode: screen;
}
@keyframes rot { to { transform: rotate(360deg); } }
</style>
<div id="mydiv">
<video id="vid" src="https://img.tukuppt.com/video_show/2269348/00/14/66/5e5a2d19f00fd.mp4" loop muted></video>
<audio id="aud" src="https://cdn1.suno.ai/94a649dd-2c2e-4540-81a5-b81fc191fb18.mp3" autoplay loop></audio>
<img id="player" src="https://www.dlbbs.com/data/attachment/forum/202412/29/132530ucuoodoc3vli6777.jpg" alt="" />
</div>
<script>
(function() {
let timer = null, sF = document.createElement('script');
sF.src = 'https://638183.freep.cn/638183/web/api/fullscreen.js';
sF.charset = 'utf-8';
document.querySelector('body').appendChild(sF);
sF.onload = () => FS({papa: '#mydiv'});
mydiv.onmousemove = function(e) {
clearTimeout(timer);
timer = setTimeout(function() {
if(e.target.id === 'player') return;
let x = e.offsetX | e.layerX, y = e.offsetY | e.layerY, sw = player.offsetWidth;
if(x < 0) x = 0;
if(x > mydiv.offsetWidth - sw) x = mydiv.offsetWidth - sw;
if(y < 0) y = 0;
if(y > mydiv.offsetHeight - sw) y = mydiv.offsetHeight - sw;
player.style.cssText += `left: ${x}px; top: ${y}px`;
}, 400);
}
let mState = () => aud.paused
? (mydiv.style.setProperty('--state','paused'), vid.pause())
: (mydiv.style.setProperty('--state','running'), vid.play());
aud.addEventListener('playing', mState);
aud.addEventListener('pause', mState);
player.onclick = () => aud.paused ? aud.play() : aud.pause();
})();
</script>
<br><br><br><br><br></td></tr></table></td></tr></table>
<div style="background: none; left: 0px; width: 100%; margin-top: 150px; position: absolute; z-index: 32768;"><center><iframe width="1600" height="900" src="http://bb.xxyyhlt.cn/xxy/wsxrxs/wxf.htm" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></center></div><div style="height: 900px;"></div><br><br><br><br> 漂亮!问好向荣老师{:10_402:}
帅!帖子做的太美了{:10_403:}
页:
[1]