When dismissing a modal with a YouTube video, the video should stop playing.
Actual behaviour
The video keeps playing in the background.
This is most likely an issue with other types of content as well, like maps, which may lead to increased memory use. Bluntly, a modal should be removed from the DOM entirely when dismissed.
Expected behaviour
When dismissing a modal with a YouTube video, the video should stop playing.
Actual behaviour
The video keeps playing in the background.
This is most likely an issue with other types of content as well, like maps, which may lead to increased memory use. Bluntly, a modal should be removed from the DOM entirely when dismissed.