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

Video transcript feature not able to detect adding of cues in Safari #6034

Open
bjester opened this issue Nov 7, 2019 · 0 comments
Open
Labels
bug Behavior is wrong or broken safari Limited to safari or webkit

Comments

@bjester
Copy link
Member

bjester commented Nov 7, 2019

Observed behavior

The interactive video transcript does not load initially in Safari. The transcript feature overrides the addCue method on TextTrack's such that it can hook into the browser's native handling of text tracks and "listen" for when a cue has been parsed and added to the the track. Unfortunately, there isn't an event for this in the spec.

safari2

Expected behavior

The transcript and all the cues should load as soon as possible and shouldn't be dependent on the video playing or a cue becoming active.

User-facing consequences

Users of Safari have to toggle the transcript off and on to view it before playing the video. This may be frustrating for learners.

Errors and logs

No errors occur.

Steps to reproduce

  1. Import a video with a first transcript cue that starts significantly after the video starts. For example, download "A is for Atom" from channel hifug-fagad
  2. Open video in latest Safari
  3. Enable the transcript if not already. The transcript should then show if it wasn't enabled.
  4. Refresh
  5. Observe transcript loading state until either a cue becomes active or the transcript is toggled.

Context

Kolibri 0.13 #5631
Observed in Browserstack
Observed in latest version of Safari

@bjester bjester added bug Behavior is wrong or broken DEV: frontend OS: Mac labels Nov 7, 2019
@jonboiser jonboiser added safari Limited to safari or webkit and removed DEV: frontend OS: Mac labels Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Behavior is wrong or broken safari Limited to safari or webkit
Projects
None yet
Development

No branches or pull requests

2 participants