question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TTML Subtitles not working without the UI Library

See original GitHub issue

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? 2.5.5

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master? Yes

Are you using the demo app or your own custom app? Custom app.

If custom app, can you reproduce the issue using our demo app? No, but I tried building a custom app with the UI library and it works as expected.

What browser and OS are you using? Ubuntu, Chrome v77

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

What did you do?

I followed the basic usage tutorial. But we are not looking to use the UI Library.

What did you expect to happen? TTML subtitles to work without the UI Library.

What actually happened?

The subtitles doesn’t show up instead it shows a little black box as showed in the image. New Project (4)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joeyparrishcommented, Oct 16, 2019

Happy to help!

0reactions
damjtohcommented, Oct 16, 2019

I forked the UI textDisplayer class and it worked like a charm! Thanks for the quick response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TTML captions with overlapping times appear weirdly. #3186
This all works correctly in our UI, but something about your setup is broken, so our UI is not being used for text....
Read more >
HTML5: Playing <audio> with TTML subtitle - Stack Overflow
In Chrome, there is an issue that you need to be aware of. If you translate TTML to WebVTT without explicit vertical positioning,...
Read more >
Captions/Subtitles | Web Accessibility Initiative (WAI) - W3C
Helps you understand and create captions (also called “subtitles”) for audio and video media accessibility.
Read more >
Adding Captions to Videos Programmatically
In this topic, you will learn how to add captions to videos using the Brightcove Player.
Read more >
Closed Captioning & Everything You Need to Know About It
How do you make online video accessible? You guessed it: caption it. Closed captions are key players in video accessibility. Without captioning, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found