Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Prevent video file downloads when there is a download limit #274

Merged
merged 1 commit into from
May 5, 2022

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented May 4, 2022

Additional requests to the file download endpoint on video preload would be made which would count against the download limit

Since videos with a download limit are non-interactive and can't be played, see nextcloud/files_downloadlimit#76, we don't add the source element with the src video URL on the video player to prevent undesired preloads and therefore downloads of the download limited file

@Pytal Pytal added this to the Nextcloud 25 milestone May 4, 2022
@Pytal Pytal self-assigned this May 4, 2022
@Pytal
Copy link
Member Author

Pytal commented May 4, 2022

/backport to stable24

@Pytal
Copy link
Member Author

Pytal commented May 4, 2022

/backport to stable23

@Pytal
Copy link
Member Author

Pytal commented May 4, 2022

/backport to stable22

@Pytal
Copy link
Member Author

Pytal commented May 4, 2022

/compile amend /

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@backportbot-nextcloud
Copy link

backportbot-nextcloud bot commented May 5, 2022

The backport to stable22 failed. Please do this backport manually.

#277

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants