MoePlayer / Hermit-X

在 WordPress 中使用 APlayer 播放音乐吧~
MIT License
287 stars 59 forks source link

听不了歌。。。 #122

Closed tangsongxiaoba closed 6 years ago

tangsongxiaoba commented 6 years ago

我在edge浏览器上使用根本没有加载出播放器来。。。 播放的是媒体库的本地音乐,有60首。提示an audio error has occurred等等

Copay commented 6 years ago

请提供example

最好给出您的:

  1. Example 网页(包含您的 Hermit-X 版本)
  2. 测试用 Edge 版本
  3. 测试用Windows 版本

建议先升级到最新版本。

Copay commented 6 years ago

image image Edge 18 在 lwl12 站点可用 Hermit-X。

tangsongxiaoba commented 6 years ago

我想应该不关乎edge的事情,因为firefox也无法使用。 Windows10/Windowsserver2012/iphone都试过,听不了 iPhone是根本无法加载 image image

tangsongxiaoba commented 6 years ago

Edge16

lwl12 commented 6 years ago

由于你是本地环境,我们这边没有办法查看具体情况,请提供浏览器开发者工具 Console 里的报错信息以供排查。

tangsongxiaoba commented 6 years ago

image

lwl12 commented 6 years ago

@linyujue 你博客是不是装了什么会 “优化” js 文件的插件

tangsongxiaoba commented 6 years ago

image

lwl12 commented 6 years ago

停用除了 Hermit X 的所有插件再试试

tangsongxiaoba commented 6 years ago

刚刚试了,依然如此。。。

lwl12 commented 6 years ago

看起来可能是返回的 json 有问题……你能放到线上试试么

tangsongxiaoba commented 6 years ago

http://172.81.239.61/wordpress/

lwl12 commented 6 years ago

@linyujue 在 WordPress 设置里把站点 url 改成你这个 IP 先吧= =不然我这拿不到正确的歌曲 url

tangsongxiaoba commented 6 years ago

sorry我没有域名。。。主要是域名未认证

tangsongxiaoba commented 6 years ago

image

tangsongxiaoba commented 6 years ago

改了

tangsongxiaoba commented 6 years ago

不行。。。

Copay commented 6 years ago

@linyujue 刚看了一下,ta的url都是可定位到歌曲的

lwl12 commented 6 years ago

@Copay 嗯我也看到了,我这边只是因为 hx 的缓存目前还没有办法让播放器正常播放,但是我看除了歌曲 url 指错了以外没有其他错误了……感觉应该没什么问题啊

tangsongxiaoba commented 6 years ago

我是本地歌曲。不过那为什么不行?

Copay commented 6 years ago

@linyujue 只能看细节了 也许是播放器的bug之类 但是你得先给个能用的example

tangsongxiaoba commented 6 years ago

无example,要啥example

Copay commented 6 years ago

@linyujue 问题复现供我们调试…… 如果问题无法复现,我们也无法解决问题呀。

tangsongxiaoba commented 6 years ago

我发现问题了。。。。

tangsongxiaoba commented 6 years ago

我嫌歌曲一首一首添加地太麻烦,用navicat把60首一下添进了hermit数据库里 估计是其他参数没设置

lwl12 commented 6 years ago

@linyujue ……

lwl12 commented 6 years ago

@linyujue 但是看起来不像这种问题

tangsongxiaoba commented 6 years ago

image

tangsongxiaoba commented 6 years ago

可是事实在这里,我从媒体库里新添加到音乐库的歌曲可以播放

tangsongxiaoba commented 6 years ago

对照实验

fly3949 commented 6 years ago

数据库里的localhost换成你的ip试试(

tangsongxiaoba commented 6 years ago

Copay commented 6 years ago

这都甚么搞法

tangsongxiaoba commented 6 years ago

因为懒癌。。。我不想一首一首添进库里

tangsongxiaoba commented 6 years ago

然后我是在localhost里编辑wordpress的

fly3949 commented 6 years ago

那大概是你现在的歌无法通过localhost那个地址访问吧...数据库里的歌曲地址改一下就可以了

Copay commented 6 years ago

🌚

tangsongxiaoba commented 6 years ago

对对对 我马上改 谢谢

tangsongxiaoba commented 6 years ago

对了就是这样!!

lwl12 commented 6 years ago

@fly3949 tql %%%

fly3949 commented 6 years ago

好的(●ˇ∀ˇ●)

Copay commented 6 years ago

@linyujue display: none;