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.

Allow transition to ended if all tracks except subtitle track have ended

See original GitHub issue

EXOPLAYER_VERSION=2.10.0

I’m testing with a video and 2 subtitles, and 1 subtitle’s timeline is 3seconds longer than a video.

What happens now is, video is finished, but I don’t get COMPLETED event until subtitle finish playing… and also “current time” keep updates and “video play time” didn’t updated.

What I want to do is, I want to focus on Video play time and get the COMPLETED event when video is finished… what should I do?

Thank you !!!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
toniheicommented, May 20, 2019

You can also try to use a ClippingMediaSource to clip the subtitle source to the length of the video. This requires to know that in advance though.

1reaction
toniheicommented, May 22, 2019

Looks like you just found that out yourself 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Subtitle basics - Adobe Support
Each track becomes a separate overlay, making it possible to display any one of the subtitle tracks over the same video.
Read more >
Show or hide captions in Final Cut Pro - Apple Support
In Final Cut Pro, use the timeline index to show or hide captions in the viewer and the timeline. Navigate and search captions...
Read more >
Closed caption - Roku Developer
The SubtitleConfig property should not be used – unless overriding the caption track that is automatically selected based on user caption language preference....
Read more >
Web Video Text Tracks Format (WebVTT) - Web APIs | MDN
Web Video Text Tracks Format (WebVTT) is a format for displaying timed text tracks (such as subtitles or captions) using the element.
Read more >
WebVTT: The Web Video Text Tracks Format - W3C
Abstract. This specification defines WebVTT, the Web Video Text Tracks format. Its main use is for marking up external text track resources ...
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