We're updating the issue view to help you get more done. 

Paella HLS Player: can't turn off automatic prefetching

Steps to reproduce

Steps to reproduce:
1. Use the Paella Player with HLS.
2. Open a video page but don't click the play button.

Actual Results:
Up to 10min of the video gets buffered.

Expected Results:
The video doesn't buffer until I click play.

Workaround (if any):
Go into hls.min.js and change "maxMaxBufferLength" from 600 to e.g. 30. This way only up to 30s will be buffered.

Context:
We use Opencast in Moodle via the Plugins of https://github.com/unirz-tu-ilmenau and in some courses several Videos are embedded on the course main page. So every time a student visits the course page the browser loads 10min of each video that's embedded there. This slows down our Moodle on these pages considerably. It also causes a lot of unnecessary traffic over mobile connections.

I tried setting autoStartLoad=false but then even the preview image and the play button don't load. That problem is described and solved here: https://github.com/video-dev/hls.js/issues/824 But in order to use that solution I'd have to make my own Play button that triggers the actual video player. But that seems like an unnecessarily complicated workaround in order to prevent premature video buffering.

Status

Assignee

Unassigned

Reporter

Tim Schroeder

Severity

Performance

Tags (folksonomy)

None

Components

Affects versions

5.2

Priority

Major