nextcloud / viewer

🖼 Simple file viewer with slideshow for media
GNU Affero General Public License v3.0
98 stars 55 forks source link

[Bug]: Files - video playback downloads file on every playback (Firefox) #2585

Open gerbrent opened 1 month ago

gerbrent commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Bug description

With Firefox: When playing a video file in Files, it appears the file is downloaded/buffered again on every playback, i.e. the video plays, finishes, then playhead goes back to 0:00. Hit play again, and the files is downloaded anew.

Steps to reproduce

  1. Files > open video file
  2. play the video to the end
  3. hit play again.
  4. wait for file to buffer again.

Expected behavior

Expecting the file to be stored locally for instant playback instead of downloading on every "play"

Image

See repeated 9.71MB download: (Note, ignore the two other large video downloads, those related to nextcloud/viewer#2586 )

Image

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

Nextcloud 30.0.1 RC1 Firefox 130.0.1

skjnldsv commented 1 month ago

Expecting the file to be stored locally for instant playback instead of downloading on every "play"

Are you sure you don't have caching disabled somehow? Seeing the Dev tools opened for example :)

gerbrent commented 1 month ago

Great question! The "Disable Cache" option in the dev tools is disabled. Caching in the browser seems... normal and not specifically disabled.

gerbrent commented 1 month ago

Tested in a Chrome-based browser (Chromium) and behaves as expected 👍🏻

gerbrent commented 1 month ago

Tested on a different OS, on a fresh Firefox profile and the behaviour persists, so clear to say this is a Firefox-related issue.