elan-ev / studip-opencast-plugin

This is an Stud.IP plugin for Opencast
https://elan-ev.github.io/studip-opencast-plugin/
GNU General Public License v2.0
9 stars 20 forks source link

Download link should initiate download #782

Closed lkiesow closed 7 months ago

lkiesow commented 1 year ago

If you click on a media download, you want the browser to initiate a download and not open the video in a new tab. But that's what happens right now. Fixing that should be as easy as adding a download attribute to the link like this:

<a download href="…">…</a>

Screenshot from 2023-08-31 14-44-56

We confirmed this problem in version 2.7.2. Not sure about 3.x

Sturek commented 9 months ago

For 3.x, I cannot find this feature at all. Does the media download dialog currently exist in v3?

dennis531 commented 9 months ago

You can open the dialog via the following action:

Image

If you use the fast workflow, no download buttons are visible in the dialog. If I understand it correctly, the individual video files are not published in this workflow.

kai-wng-uos commented 8 months ago

The media download option is unavailable.

Image

dennis531 commented 8 months ago

See https://github.com/elan-ev/studip-opencast-plugin/issues/771#issuecomment-1880575347

kai-wng-uos commented 8 months ago

Works fine now. For the videos that are always in the test playlist, the diealog shows no option to download, but I assume this is a test system thing @dennis531 ? grafik

dennis531 commented 8 months ago

I had the same problem. It is caused by the "Fast Testing Workflow" as it doesn't publish the video files. The "Process and schedule on upload" workflow should work fine.

dennis531 commented 7 months ago

It should be resolved. Please reopen this issue if it is not.