elements icon indicating copy to clipboard operation
elements copied to clipboard

Bug: changing playback ID results in old storyboard still loaded for timeline hover preivew

Open dylanjha opened this issue 8 months ago • 0 comments

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

  1. Click play, see timeline hover preview
  2. Click pause
  3. 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

dylanjha avatar Jun 10 '24 21:06 dylanjha