Calling destroy() on the UI doesn't remove the spinner or client side ad container elements #7311
Labels
component: UI
The issue involves the Shaka Player UI
priority: P2
Smaller impact or easy workaround
type: bug
Something isn't working correctly
Milestone
Have you read the FAQ and checked for duplicate open issues?
Yes
If the problem is related to FairPlay, have you read the tutorial?
Not applicable
What version of Shaka Player are you using?
4.11.2
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
main
?Yes
Are you using the demo app or your own custom app?
Both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Firefox on Windows 10
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Not applicable
What are the manifest and license server URIs?
Not applicable
What configuration are you using? What is the output of
player.getConfiguration()
?Default
What did you do?
Called
destroy()
onshaka.ui.Overlay
.What did you expect to happen?
Expected the
shaka-spinner-container
andshaka-client-side-ad-container
elements to be removed from the DOM.What actually happened?
The
shaka-spinner-container
andshaka-client-side-ad-container
elements still exist in the DOM.Are you planning send a PR to fix it?
No, because of the CLA, but here is a diff that should fix it:
The text was updated successfully, but these errors were encountered: