Can't move timeline / progress bar of private folder media file manually

Created on 26 November 2024, 22 days ago

Problem/Motivation

When you upload a mp3 or mp4 file into private folder, you can't move the media player timeline / progress bar manually. This was issue in Drupal 7 as well, but using the module https://www.drupal.org/project/resumable_download it was fixed. But this module no longer in Drupal 8 or 10, and I read some documents that, its fixed in Drupal 10, but I see this is still an issue.

I have tried with other module https://www.drupal.org/project/xsendfile, But mod_xsendfile does not support sub-directory or wildcard condition. So if you have lot of files in different sub-directory under private folder, its not working.

Steps to reproduce

1. Setup to save the files into private directory for any node field
2. Install https://www.drupal.org/project/mediaelement and setup the field formatter
3. View the page and try to drag the timeline / progress bar manually, it always reset to starting of the time.

Proposed resolution

Include the resumable download feature into core, if not there already.

🐛 Bug report
Status

Active

Version

10.3

Component

file.module

Created by

🇧🇩Bangladesh shafiqhossain

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @shafiqhossain
  • 🇳🇿New Zealand quietone

    Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies. Updating tags according to the tag guidelines.

    I tested this on Drupal 11.x and wasn't able to reproduce the problem with mediaelement installed and without mediaelement installed. Is this a problem with a specific version of mediaelement?

  • 🇧🇩Bangladesh shafiqhossain

    @quietone
    Its not related to MediaElemet.js module - I did test a lot with it. Its just a javascript player library, I checked the module code as well. I moved the mp3 file from private to public, the timeline / progress bar was working.

Production build 0.71.5 2024