bytedance / xgplayer

A HTML5 video player with a parser that saves traffic
https://h5player.bytedance.com/
MIT License
8.17k stars 858 forks source link

播放flv流,首次加载 canplay play playing会触发多次事件回调 #1343

Closed sunboy1991 closed 1 month ago

sunboy1991 commented 5 months ago

您使用的西瓜播放器版本是多少? What version of xgplayer are you using? 3.0.10

您使用的操作系统和浏览器分别是? What OS and browser are you using? window与mac 所有浏览器

如何复现问题? How to reproduce the problem? 去拉取一个flv流,监听回调多次触发

image wecom-temp-365159-d15f452ba468a5ee122d7108b4c7a138

您期望的播放器正常行为是? What did you expect to happen? 初次加载,canplay play playing 触发一次

实际播放器的表现是? What actually happened? 初次加载,canplay play playing 触发多次

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

xiyuyizhi commented 5 months ago

@sunboy1991 是否有卡顿,waiting后起播这些事件是会重新触发的

sunboy1991 commented 5 months ago

@xiyuyizhi 不会有卡顿,waiting之后会重新触发 ,复现场景补充一下:设置autoplay为false 进行点击播放 就会复现 image

wji29787 commented 5 months ago

遇到同样问题,hls流播放 连续触发2次 play

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 month ago

This issue has been automatically closed after a period of inactivity. If it is still present in the latest release, please create a new issue with up-to-date information. Thank you!