OD2 icon indicating copy to clipboard operation
OD2 copied to clipboard

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

Open wickr opened this issue 1 year ago • 0 comments

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 avatar Aug 11 '23 18:08 wickr