朵拉 发表于 2023-5-18 22:33

也许是爱情 TO:论坛朋友们520快乐!

本帖最后由 朵拉 于 2023-5-19 06:46 编辑 <br /><br /><style>
#papa {
      margin: 0 0 0 calc(50% - 593px);
      width: 1024px;
      height: 593px;
      background:
                url('https://pic2.imgdb.cn/item/64665d370d2dde5777e6d660.jpg') no-repeat center/cover,
                #000 url('https://638183.freep.cn/638183/t23/2/fire.gif') no-repeat center/cover;
      background-blend-mode: screen;
      box-shadow: 0 0 8px #000;
      position: relative;
      display: grid;
      place-items: center;
      --state: paused;
}
@keyframes rot { to { transform: rotate(1turn); } }
</style>

<div id="papa">
      <css-doodle id="mplayer">
                :doodle { @size: 160px; animation: rot 6s infinite linear var(--state); cursor: pointer; }
                background: rgba(255,100,0,.7);
                clip-path: @shape(
                        points: 300;
                        scale: .25;
                        x: 2 * cos(t) + cos(8t);
                        y: 2 * sin(t) - sin(8t);
                );
      </css-doodle>
      <audio id="aud" src="https://music.163.com/song/media/outer/url?id=1997437579" autoplay loop></audio>
</div>

<script>
      let script = document.createElement('script');
      script.src = 'https://638183.freep.cn/638183/web/api/css-doodle.js';
      document.body.appendChild(script);
      let mState = () => papa.style.setProperty('--state', aud.paused ? 'paused' : 'running');
      aud.addEventListener('play', mState, false);
      aud.addEventListener('pause', mState, false);
      mplayer.onclick = () => aud.paused ? aud.play() : aud.pause();
</script>

红影 发表于 2023-5-18 22:35

这个音乐听不到啊?

朵拉 发表于 2023-5-18 22:35

@马黑黑
马师 晚上好,学生的作业出现问题了,请您看下哈{:4_190:}

马黑黑 发表于 2023-5-18 22:38

朵拉 发表于 2023-5-18 22:35
@马黑黑
马师 晚上好,学生的作业出现问题了,请您看下哈

你的音乐地址不可用。若可以使用,就没什么问题。

朵拉 发表于 2023-5-18 22:43

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=3&id=2522608119&auto=0&height=66"></iframe>

朵拉 发表于 2023-5-18 22:44

马黑黑 发表于 2023-5-18 22:38
你的音乐地址不可用。若可以使用,就没什么问题。

马师,我贴上网易云的播放器 可以听到音乐~~

朵拉 发表于 2023-5-18 22:45

红影 发表于 2023-5-18 22:35
这个音乐听不到啊?

影宝好,我贴上网易云的播放器 可以听到音乐~~

红影 发表于 2023-5-18 22:47

朵拉 发表于 2023-5-18 22:45
影宝好,我贴上网易云的播放器 可以听到音乐~~

可还是帖子里的听不到啊。{:4_187:}

马黑黑 发表于 2023-5-18 22:47

朵拉 发表于 2023-5-18 22:44
马师,我贴上网易云的播放器 可以听到音乐~~

反正打开你的地址是404房间,不存在

马黑黑 发表于 2023-5-18 22:56

朵拉 发表于 2023-5-18 22:44
马师,我贴上网易云的播放器 可以听到音乐~~

你给我原网页地址

朵拉 发表于 2023-5-18 22:58

红影 发表于 2023-5-18 22:47
可还是帖子里的听不到啊。

最近的两个帖子 你们都听不到音乐,估计我手机出问题了

马黑黑 发表于 2023-5-18 23:00

朵拉 发表于 2023-5-18 22:44
马师,我贴上网易云的播放器 可以听到音乐~~

我试着换上格格的版本,你的帖子就没问题了。格格版本的id是:

id=1837486479

朵拉 发表于 2023-5-18 23:01

马黑黑 发表于 2023-5-18 22:56
你给我原网页地址

https://music.163.com/#/program?id=2522608119

马黑黑 发表于 2023-5-18 23:03

朵拉 发表于 2023-5-18 23:01
https://music.163.com/#/program?id=2522608119

你这个网页还没有加入可以使用id外链的行列,用它的播放器分享可以

马黑黑 发表于 2023-5-18 23:05

朵拉 发表于 2023-5-18 23:01
https://music.163.com/#/program?id=2522608119

你的地址是 program,电台系列?

红影 发表于 2023-5-18 23:23

朵拉 发表于 2023-5-18 22:58
最近的两个帖子 你们都听不到音乐,估计我手机出问题了

可能是音乐地址防止外链,不是你手机问题。

朵拉 发表于 2023-5-18 23:25

马黑黑 发表于 2023-5-18 23:05
你的地址是 program,电台系列?

上传在电台系列~~

朵拉 发表于 2023-5-18 23:27

红影 发表于 2023-5-18 23:23
可能是音乐地址防止外链,不是你手机问题。

影宝 麻烦把帖子移动到水吧,我改一改再发

樵歌 发表于 2023-5-19 08:05

花蕊飞漫天,加心遍地来。

梦油 发表于 2023-5-19 09:44

谢谢朵拉朋友的美好祝福。祝你快乐!
页: [1] 2
查看完整版本: 也许是爱情 TO:论坛朋友们520快乐!