title: How to play audio when received push notification in service worker chrome ?
body: <p>I want to play audio like whatsapp web push notification or telegram web notification. I already able received push notification in service worker, the problem is how to play audio when push notification received ? </p>
  
  <p>I already read the documentation of Notification API on here :<a href="https://developer.mozilla.org/en-US/docs/Web/API/notification/sound" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/API/notification/sound</a></p>
  
  <p>Based the documentation, Notification have parameter <strong>Sound (Notification.sound)</strong> . </p>
  
  <p>I already implement that parameter to my syntax : </p>
  
  <pre><code>self.registration.showNotification(title, {
    body: body,
    icon: icon,
    tag:tag,
    data: data,
    sound: 'http://127.0.0.1/myfolder/audio/alert.mp3'
  })
  </code></pre>
  
  <p>But still can't play the audio when receied push message in service worker, how to make play ? </p>
  
  <p>Thanks.</p>