[GH-ISSUE #22] 播放问题 #9

Closed
opened 2026-02-27 07:09:44 +03:00 by kerem · 3 comments
Owner

Originally created by @Waynenet on GitHub (Apr 20, 2023).
Original GitHub issue: https://github.com/imsyy/SPlayer/issues/22

当列表中只有一首歌时。播放完后不能反复播放,也不能实现拖动进度条播放。

Originally created by @Waynenet on GitHub (Apr 20, 2023). Original GitHub issue: https://github.com/imsyy/SPlayer/issues/22 当列表中只有一首歌时。**播放完**后不能反复播放,也不能实现拖动进度条播放。
kerem 2026-02-27 07:09:44 +03:00
  • closed this issue
  • added the
    BUG
    label
Author
Owner

@imsyy commented on GitHub (Apr 21, 2023):

已修复

<!-- gh-comment-id:1517162307 --> @imsyy commented on GitHub (Apr 21, 2023): 已修复
Author
Owner

@SiberiaBar2 commented on GitHub (Apr 23, 2023):

楼主想请教下,我在使用audio标签并利用ref调用play、pause方法时有时会遇到没有播放源这样的错误,请问你是怎么处理的?

<!-- gh-comment-id:1518997363 --> @SiberiaBar2 commented on GitHub (Apr 23, 2023): 楼主想请教下,我在使用audio标签并利用ref调用play、pause方法时有时会遇到没有播放源这样的错误,请问你是怎么处理的?
Author
Owner

@imsyy commented on GitHub (Apr 23, 2023):

楼主想请教下,我在使用audio标签并利用ref调用play、pause方法时有时会遇到没有播放源这样的错误,请问你是怎么处理的?

估计是你audio标签的src地址过期了,可以在audio的error事件里重新获取播放地址并赋值给播放器就行了

<!-- gh-comment-id:1518999799 --> @imsyy commented on GitHub (Apr 23, 2023): > 楼主想请教下,我在使用audio标签并利用ref调用play、pause方法时有时会遇到没有播放源这样的错误,请问你是怎么处理的? 估计是你audio标签的src地址过期了,可以在audio的error事件里重新获取播放地址并赋值给播放器就行了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#9
No description provided.