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

No supported mime type message #2146

Open
jcoyne opened this issue Apr 26, 2024 · 1 comment
Open

No supported mime type message #2146

jcoyne opened this issue Apr 26, 2024 · 1 comment
Labels

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Apr 26, 2024

I believe this only shows up in Firefox (tested 125 on Mac), when looking at a "Stanford-only" object like https://purl.stanford.edu/nm886yc3832
Screenshot 2024-04-26 at 9 03 29 AM

Clicking the "Log in" button resolves it:
Screenshot 2024-04-26 at 9 05 03 AM

@dnoneill
Copy link
Contributor

This is happening because the viewer is trying to preload the video which it can't access. We can get rid of this by adding setup: {"preload": "none"} to the def media_tag element under data. The problem is that it looks to be playable which isn't a great UI experience. Think this might need a little design before being put into practice. At the very least an overlay that doesn't allow the user to click on the viewer.

View with preload none
with_lazy_loading

View after clicking on the image
after clicking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants