You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest (4.3.0)
Please ask your question
I am wondering how I would go about using a caption file that I have (sprite.vtt) in order to display an image on the timeline as the user scrubs it, I have tried running addThumbnailsTrack(URL), which returns a fulfilled promise, then running player.getImageTracks() returns the correct information about said track, with active: false being set, manually setting it to true did nothing, and player.getThumbnails(0, 0) (presumably the correct statement but honestly I have no idea) returns Promise {<fulfilled>: null}
So I am not 100% sure where to go from here, because the track seems to load but not display. I am calling sprite.vtt from a remote url but im not quite sure why that would be an issue, because it uses a relative path of
The thumbanils are not yet supported in the UI, see #3371
The method getThumbnails returns the raw info in a determined time, but it's responsibility of the developer transforms the data and put in the DOM to saw the thumbnails.
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.
Have you read the Tutorials?
Yes I have
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest (4.3.0)
Please ask your question
I am wondering how I would go about using a caption file that I have (sprite.vtt) in order to display an image on the timeline as the user scrubs it, I have tried running
addThumbnailsTrack(URL)
, which returns a fulfilled promise, then runningplayer.getImageTracks()
returns the correct information about said track, withactive: false
being set, manually setting it to true did nothing, andplayer.getThumbnails(0, 0)
(presumably the correct statement but honestly I have no idea) returnsPromise {<fulfilled>: null}
So I am not 100% sure where to go from here, because the track seems to load but not display. I am calling sprite.vtt from a remote url but im not quite sure why that would be an issue, because it uses a relative path of
The text was updated successfully, but these errors were encountered: