Harvey Zhao

Results 56 comments of Harvey Zhao

假如`res`刚好等于`null`,理应也返回`o`的。

You try to visit this address and see if it appears normal: https://artplayer.org/mobile.html

I don't have an Android phone with me right now, you can click the vConsole button at the bottom to see if there is any error message

I mean, after you click the setting button, check vConsole for any error messages

Thanks for your feedback, I will fix this in the next version

Double tap is now play and pause on mobile, which will conflict with your proposal

这个有意思,我研究一下,你可以把你这个页面的地址发给我吗

测试了一下,确实会这样,但目前我还没有时间去维护这个播放器,等我空闲下来我会好好优化它的,感谢你的反馈

`this.videoframes.length - 1 > index`这个判断只是为了确保播放帧的下标在帧数组之内,就算改为`>=`对于后面的释放也是没影响的,我不用`>=`的原因是为了最起码让`this.videoframes`能保留至少一帧,这个也对内存没多大影响。 而且`this.videoframes`的长度和`this.timestamps`是一一对应的,要改的话也是要一起改为`>=`。 想加快内存释放可以考虑降低`options.videoChunk`。 但至于为什么还是一直内存过大,我还没找到原因,最近也没怎么去研究(逃)