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

Works with oEmbed need way to include thumbnails, file uploads can work but viewer needs update #2915

Open
wickr opened this issue Aug 11, 2023 · 0 comments
Labels
Features Issues related to building and enhancing features Metadata Issues related to metadata configuration, application, and representation Priority - Medium Issues that should be prioritized ahead of low but not immediately critical - bulk of work cycles

Comments

@wickr
Copy link
Member

wickr commented Aug 11, 2023

Descriptive summary

Currently when works have oEmbed URLs specified, there is no way to use that video or audio as a thumbnail source. Search results just show the generic thumbnail.

If you get a screenshot or other useful image to use as a thumbnail, that can be uploaded as a File on the work.
Example: https://staging.oregondigital.org/concern/videos/6108vb31r?locale=en

Then, using File Manager, you can select that File to be 'Thumbnail' and 'Representative Media'. This works well for search results.
Example: https://staging.oregondigital.org/catalog?f%5Bresource_type_label_sim%5D%5B%5D=Moving+Image&locale=en&q%5B%5D=&search_field=all_fields

However, the show page viewer tries to render the new File as an oEmbed, and gives an error when it doesn't understand it.
image

Expected behavior

If an oEmbed URL is present, the show page renders only one or more oEmbeds and doesn't try to render Files that are not oEmbed as that.
Files uploaded as thumbnails/support should not appear under oEmbed Errors in Dashboard (this appears to be working correctly).

Related work

Link to related tickets or prior related work here.

Accessibility Concerns

Add any information here to indicate any known or suspected accessibility issues for this ticket

@wickr wickr added Metadata Issues related to metadata configuration, application, and representation Features Issues related to building and enhancing features Priority - Medium Issues that should be prioritized ahead of low but not immediately critical - bulk of work cycles labels Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Features Issues related to building and enhancing features Metadata Issues related to metadata configuration, application, and representation Priority - Medium Issues that should be prioritized ahead of low but not immediately critical - bulk of work cycles
Projects
None yet
Development

No branches or pull requests

1 participant