avalonmediasystem / avalon

Avalon Media System – Samvera Application
http://www.avalonmediasystem.org/
Apache License 2.0
93 stars 51 forks source link

[BUG] Video items are showing the audio only thumbnail / poster #5955

Closed elynema closed 1 day ago

elynema commented 1 month ago

Describe the bug In both avalon-dev and avalon-staging, we are seeing examples where items that contain video files (or specific sections that are videos) are displaying with the audio only icon as thumbnails on the results list and as posters on the media object page.

To Reproduce Steps to reproduce the behavior, including the results:

  1. On avalon-staging, search for 'lunchroom manners'.
  2. Scroll to the third item. It shows an audio only thumbnail.
  3. Click on the item (https://avalon-staging.dlib.indiana.edu/media_objects/9c67wm82b).
  4. The audio only icon is showing up as the poster image, as well.
  5. Another example on avalon-dev: https://avalon-dev.dlib.indiana.edu/media_objects/8s45q876k

Expected behavior The default thumbnail on the search results page (if there is no poster image) should be a video icon if the first section is a video and an audio icon if the first section is an audio only file. On the media object page, for any section that is a video, the default poster (if there is no poster image) should be a video icon.

Screenshots/Screen Recording image

image

Environment (please complete the following information):

Release: This seems to be a 7.8 regression.

elynema commented 1 month ago

Currently the browse / search results page pulls the poster from the first section of the item. We can stick with that behavior.

elynema commented 1 month ago

We don't generally have many situations where we don't have a poster image for video. Maybe occasionally if a background job fails to generate poster image. So this is an edge case.

joncameron commented 1 day ago

Video icon now displays instead of the audio icon as expected 👍