Slight adjustment Convert PDF to a Base64-encoded string in Javascript, Convert binary data to base64 with javascript, Convert HTML to data:text/html link using JavaScript. For example, you can embed and autoplay a beep sound as follows: JSONP: //jsfiddle.net/echo/jsonp/ Why is the eastern United States green if the wind moves from west to east? I tried that and it's not working either. Using flutter mobile packages in flutter web. That doesn't look like the correct way to use the Audio constructor for HTMLAudioElement /