I have a grid of videos that users will be able to play. Something along the lines of a list of youtube videos embedded with the following:
<video data-bind="attr: {src: mediaPath}" preload="metadata"></video>
At a certain point, I start to see the following from Chrome:
Waiting for available socket...
I believe this is due to the issues outlined here: Chrome hangs after certain amount of data transfered - waiting for available socket
However I'm not sure what the solution is, given that the user may be seeing 10s or 100s of "previews" as they scroll through their media.
One thing I was thinking would be to load as preload='none'
initially, and then just change videos over to preload='metadata'
a few at a time until all metadata has been loaded, but I wanted to ask the community before embarking on such a smelly endeavor.
As for the UX - the videos are in very small thumbnails, around 30 of which are "above the fold" at any given time.