mePlayer icon indicating copy to clipboard operation
mePlayer copied to clipboard

解决切换歌曲的问题

Open ghost opened this issue 1 year ago • 0 comments

作者将播放器函数挂载到 root.mePlayer 上,但是首次启动之后全局存在一个同名变量,导致切换时报错 Uncaught (in promise) TypeError: mePlayer is not a function ,解决方法是将 meplayer.js 第 75 行的 root.mePlayer = function (options) 替换为 root.xxxPlayer = function (options)xxx 随意,调用的时候改为 xxxPlayer() 即可。

ghost avatar Dec 25 '24 09:12 ghost