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

Video Thumbnail in Structure field actually plays video #2040

Closed
moritzebeling opened this issue Aug 26, 2019 · 1 comment

Comments

@moritzebeling
Copy link

commented Aug 26, 2019

Describe the bug
When having a files field within a structure field, and then select a (mp4) video, the video will actually play inside the field preview of the closed structure field. This slows down the performance of the panel.

To Reproduce

  1. Create a structure field like this
structureField:
  type: structure
  label: Structure
  fields:

    filesField:
      type: files
      label: Files
      image: false
  1. Upload a mp4 video file and select it from filesField
  2. Save the page

Expected behavior
Instead, the file-video icon should be shown, I guess. Or a thumbnail can be queried using the fields image property.

Screenshots
Icon is shown when editing the structure entry:
icon is shown when editing the structure entry

Video playback inside the thumbnail, when structure field is closed after editing:
Video playback inside the thumbnail

Kirby Version
3.2.3

@bastianallgeier

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
afbora added a commit to afbora/kirby that referenced this issue Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.