Skip to content

Download the media files via the browser download mechanism #1390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dennis531
Copy link
Collaborator

@dennis531 dennis531 commented Jun 19, 2025

This PR replaces the javascript download function for media files by the integrated browser download mechanism.

Fix #1383

This PR replaces the javascript download function for media files by the integrated browser download mechanism.
@dennis531 dennis531 added type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x labels Jun 19, 2025
@rlucke rlucke self-requested a review June 23, 2025 09:59
@rlucke
Copy link
Contributor

rlucke commented Jun 23, 2025

Die gesamte UI und Funktionalität einfach wieder zu entfernen scheint mir ziemlich rigoros. Wenn man sich um die Randfälle mit wenig Rechenleistung und RAM Sorgen macht, dann würde ich genau auf den Aspekt eingehen.
Es stimmt schon das AXIOS an der Stelle recht Ressourcen intensiv arbeitet. Aber Deshalb muss der Fortschrittsbalken ja nicht vollkommen verschwinden.

Fetch im Stream Betrieb sollte mit Chunks und einem Blob am Ende deutlich effizienter sein. Das würde ich als ein ausgewogenen Kompromiss betrachten. Wenn wir an der Stelle noch mehr optimieren wollen, könnten wir eine Bibliothek wie StreamSaver.js in Kombination mit Fetch verwenden.

Den Nutzenden kein Feedback bei zeitaufwendigen Downloads zu geben halte ich für nicht zeitgemäß.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large video files can exceed the available memory
2 participants