Skip to content

Safari: CC/subtitles broken #991

Closed
Closed
@bhh1988

Description

I am on Safari 10.1.2, and HEAD of master.

When I try to load a video with VTT subtitles declared in the manifest (using BaseURL, not segmented, but I doubt it matters), there is an error thrown on simple_text_displayer.js:194.

  if (shakaCue.textAlign == 'center' && vttCue.align != 'center') {
    // Workaround for a Chrome bug http://crbug.com/663797
    // Chrome does not support align = 'center'
    vttCue.position = 'auto';
    vttCue.align = 'middle';
  }

The error thrown says "The provided value is non-finite". I think it's similar to this issue here: mozilla/vtt.js#364

And then subtitles aren't shown on Safari at all, though the video/audio will continue playing.

Metadata

Assignees

No one assigned

    Labels

    status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions