VideoPlayer icon indicating copy to clipboard operation
VideoPlayer copied to clipboard

An error occurred when automatically replaying multiple times

Open imsai-sh opened this issue 1 year ago • 2 comments

When using this lib, I encountered the problem of an infinite loop after repeated playback multiple times (it seems to only occur on real devices, and it is random). In order to troubleshoot the problem, I reproduced this problem in the Demo project in this warehouse: For the Demo project, I only modified one part: adding a 5-second test video to the videoURLs. WX20240209-160447

Then run the project directly, and after repeated playback multiple times, onPlayToEndTime and onReplay will be called very quickly and will not stop. The video cannot be played. WX20240209-160736

My device: iphone14 pm, ios 17.3 xcode: Version 15.0.1 (15A507)

imsai-sh avatar Feb 09 '24 08:02 imsai-sh

Adding a potentially important operation: After running the Demo, I clicked Sound Off/Sound On, and then waited for a while, and this unplayable phenomenon occurred.

imsai-sh avatar Feb 10 '24 10:02 imsai-sh

解决了吗

JLLJHD avatar Sep 21 '24 13:09 JLLJHD