Skip to content

Default font size 5vh leads to very large cues for vertical videos #522

@jernoble

Description

@jernoble

The spec currently says:

The font shorthand property on the (root) list of WebVTT Node Objects must be set to 5vh sans-serif.

This value of 5vh leads to unreasonably large cues for vertical videos. See example here: http://jernoble.github.io/samples/bin/WebVTT/resize-aspect.html

Instead, the spec could use 5vmin (or actually, move away from redefining viewports entirely and use 5cqmin instead). The example above allows you to switch between 5vh and 5vmin to see the difference in behavior.

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