Skip to content
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

Media viewer public context #3844

Merged
merged 4 commits into from
Jul 28, 2020
Merged

Media viewer public context #3844

merged 4 commits into from
Jul 28, 2020

Conversation

kulmann
Copy link
Member

@kulmann kulmann commented Jul 28, 2020

Description

This PR fixes loading videos in a public context (public link) within the mediaviewer.

Related Issue

Motivation and Context

Bugfix

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

The `mediaSource` plugin doesn't support signed urls at the moment,
because it would slow down the whole file list init the way signed urls
are implement at the moment. Reason: signed urls retrieve the signing
key on every request. As a result ALL requests for e.g. thumbnails in
the files list will make two requests instead of one. As long as that is
not fixed, we will continue to fetch previews and images in general
(also in the mediaviewer) as blobs. Only other file types (e.g. videos)
are fetched with signed urls.
@kulmann kulmann requested a review from LukasHirt July 28, 2020 10:39
@update-docs
Copy link

update-docs bot commented Jul 28, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@kulmann kulmann self-assigned this Jul 28, 2020
@kulmann kulmann added Type:Bug Something isn't working bug-solved labels Jul 28, 2020
@kulmann kulmann added this to In progress in oCIS Sprint 20-15 via automation Jul 28, 2020
oCIS Sprint 20-15 automation moved this from In progress to To review Jul 28, 2020
@kulmann kulmann merged commit dd89300 into master Jul 28, 2020
oCIS Sprint 20-15 automation moved this from To review to Done Jul 28, 2020
@delete-merged-branch delete-merged-branch bot deleted the media-viewer-public-context branch July 28, 2020 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Mediaviewer doesn't work for videos in public context when url signing is enabled
2 participants