-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
How do you reset vtt.js tracks after changing video with player.attachSource() ? #4220
Comments
Fixed in #4224 , can you confirm that the problem is solved in the nightly version: https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html |
Hi, |
@Eeel-12 Can you also reproduce this error in our reference UI? http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html |
@dsilhavy thank you. A Pen is available here using nightly in settings. It is better but the issue still exist. Hope that help, |
Discussed in #4219
Originally posted by Eeel-12 July 8, 2023
Hi,
With dash.js 4.7.1 i use
player.attachSource(manifest.mpd)
to change video on a same page without initializing the whole player, this works fine withcustomRenderingEnabled: false
With vtt.js enable when switching to another video with
player.attachSource(manifest.mpd)
the player render the new vtt track and the one from the previous video.I tried to destroy the player with no luck, after
initialize()
vtt.js continue to render all the vtt tracks.How can i "reset" vtt.js before loading a new video with
player.attachSource()
without re loading the whole player ?The text was updated successfully, but these errors were encountered: