journey-ad / cPlayer-Typecho-Plugin

A typecho plugin for a beautiful html5 music player https://github.com/MoePlayer/cPlayer/tree/f9b593dcd89395f9d7dd08ccda428f7628ab9ab2
MIT License
129 stars 22 forks source link

cPlayerOptions is not defined #10

Closed jozhn closed 7 years ago

jozhn commented 7 years ago

Uncaught ReferenceError: cPlayerOptions is not defined at cp (79:147) at HTMLScriptElement.script.onload (79:176)

typecho 1.0

journey-ad commented 7 years ago

请提供一个出现此问题的页面地址

jozhn commented 7 years ago

https://dearjohn.cn/saying/75 改了typecho文件头不提示这个了,但也不显示播放器,麻烦看一下。用了instantclick~应该是这个原因

jozhn commented 7 years ago

[player id='http://music.163.com/#/song?id=185705'/]插入的音乐代码是这个,不过没有显示播放器也没有显示代码

journey-ad commented 7 years ago

@JohnStinky 只用输入id,对于这首歌是185705

jozhn commented 7 years ago

[player id='id=185705'/]这样依然不显示~~~

journey-ad commented 7 years ago

@JohnStinky [player id="185705"/] 说明文档的使用方法一节中有详细的说明

jozhn commented 7 years ago

。。。我打错了抱歉,哈哈哈,之前可以自动生成成那样的

jozhn commented 7 years ago

不过只有一首歌的时候我的歌曲列表只能显示半行是不是跟我的CSS有关?

journey-ad commented 7 years ago

@JohnStinky 你的style.css里对.list添加了15px的上下内边距,和播放列表的样式冲突了

jozhn commented 7 years ago

多谢~~