Can anyone tell me? How to stop music when minimizing the game, or in HTML 5 game when switching to another tab?

Godot Version

3

Question

Try using some of the NOTIFICATION_WM_* constants on the _notification() override method.