anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Cache hls.js and modify its options #189

Closed kjmalek closed 2 years ago

kjmalek commented 2 years ago

Along with enabling hls.js to be cached, this will stop hls.js from pre-buffering any audio/video HLS streams before users click play. This will ensure that bandwidth isn't used unnecessarily when embedding audio or video.