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

HTML source type for video is hardcoded as video/mp4 #819

Open
yugokato opened this issue Jul 2, 2024 · 1 comment
Open

HTML source type for video is hardcoded as video/mp4 #819

yugokato opened this issue Jul 2, 2024 · 1 comment

Comments

@yugokato
Copy link

yugokato commented Jul 2, 2024

The HTML source type for videos is currently hardcoded as "video/mp4" in the jinja2 template. This seems to prevent Safari from playing webm video files, although Chrome and Firefox seem to handle this fine.
(NOTE: I use --self-contained-html option)

I've modified it to "video/webm" in the generated report and confirmed that Safari can play webm videos.

Please change the template to reflect the mime_type value given to extras.video().

@yugokato
Copy link
Author

yugokato commented Jul 2, 2024

FYI - The same issue exists in v3.2

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

No branches or pull requests

1 participant