phloxic / videojs-sprite-thumbnails

Video.js plugin to display thumbnails from a sprite image when hovering over the progress bar
https://lastshiphome.de/en/movie
MIT License
52 stars 13 forks source link

Thumbnail does not appear under chrome #30

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hello,

I would like to know why I don't see any sprites in chrome, where Firefox seems to work fine!? Is this already a known issue?

Thanks in advance

phloxic commented 2 years ago

@venomone - works fine in Chrome for me[tm]. Could you be more specific? Link to an example where this happens?

ghost commented 2 years ago

Sadly I dont have any example online :( But is this only CSS controlled? The only really diffrence I see is that with chrome I get the following at my browsers console:

VIDEOJS: video-player: spriteThumbnails: WARN: connection.downlink < 2

This message does not appear with Firefox. Any Idea?

phloxic commented 2 years ago

See the downlink config option.

This is expected behaviour. You are on a rather slow connection, so Chrome does not load thumbnails to avoid interfering with playback. At the moment only Chrome based browsers support the network connection interface, so Firefox loads and shows them.

You can can of course also disable this check.