Skip to content

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

Open

Description

@yugokato

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().

Activity

  1. yugokato commented on Jul 2, 2024

    @yugokato
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions