Chrome HTML5 Videos stop working if too many tabs are open - Memory issue?

后端 未结 4 1156
无人共我
无人共我 2021-01-05 08:39

I\'m using jQuery to dynamically write objects, and running videojs to init them. After I play a video, SOMETIMES when I try to play it again, it

4条回答
  •  礼貌的吻别
    2021-01-05 09:44

    I had a similar but related issue which I can expand on slightly here.

    I had 14 different small videos on a page but only 2 were available at a time. Setting preload = 'none' didn't fix the issue so I also used a data attribute to store the src, and remove the src for all videos that aren't currently being viewed.

提交回复
热议问题