elements
elements copied to clipboard
Bug: changing playback ID results in old storyboard still loaded for timeline hover preivew
Is there an existing issue for this?
- [X] I have searched the existing issues
Which Mux Elements/Packages does this apply to? Select all that apply
mux-player
Which browsers are you using?
Chrome
Which operating systems are you using?
None
Description
When changing the playback-id, the player still has the old timeline hover previews loaded.
I can workaround this by setting muxPlayer.playbackId = null
before changing
Reduced test case
https://codesandbox.io/p/sandbox/mux-player-bug-reset-playback-id-fs95rn?file=/src/index.js:8,36
Steps to reproduce
- Click play, see timeline hover preview
- Click pause
- Click "change playback ID"
Current Behavior
See timeline hover preview has the old storyboard
Expected Behavior
Timeline hover preview should have the new storyboard
Errors
No response
What version of the package are you using?
v2.7