Why does music keep playing during videos?
So, music always plays when you have web browser open, regardless of any videos?

Maybe.. check if there are tabs open, try to close them one after other if you would find if one of those has background music. Chrome and some other browsers might show an icon indicating if a tab is playing music.