title: Background Music that stops playing when video is played
body: <p>ツ
  Hi, I was wondering how I can add background music to a webpage that would <strike>fade away</strike> stop when I play an embedded video <sup>(especially Youtube)</sup> and then start again when the video gets over.</p>
  
  <p>The code I use to embed audio is: </p>
  
  <blockquote>
    <p><code>&lt;embed src="example.mid" autostart="true" loop="true"&gt;</code></p>
  </blockquote>
  
  <p>I'm also aware that HTML5 has an audio tag, but can somehow that produce the effect I need (which is the music stopping when a video is played)?</p>
  
  <p><sup>Don't worry, I want to use this on an html based presentation and not an actual webpage.
  EDIT: I've edited this question so as to make  it a bit more clear.</sup></p>