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.

Activity

Show:
Tim Schroeder
February 11, 2020, 8:55 AM

Correction: I don’t have permission to close it myself.

Whoever has that permission, feel free to close this issue.

Tim Schroeder
February 11, 2020, 8:51 AM

With Opencast 8.0 PaellaPlayer uses a new lazy-loading mechanism that fixes this problem. I’m therefore closing this issue.

Tim Schroeder
January 11, 2019, 11:40 AM

Thanks. I wasn’t sure where this issue belongs seeing as a (modified?) version of the paella player is now directly in the opencast repo.

Miguel Escriva
January 10, 2019, 6:45 PM

I reported this issue to paella player issue tracker.

Link: https://github.com/polimediaupv/paella/issues/384

Tim Schroeder
January 10, 2019, 4:40 PM

I already wrote this under “Steps to Reproduce” but seeing as it’s not very well readable there I post this here again:

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.

Assignee

Unassigned

Reporter

Tim Schroeder

Severity

Performance