To address @rachel-fenichel's comment, there could be a file with dummy sounds (say 10-20ms) that could be used for testing codec support that should also be relatively lightweight. Its frustrating being in the middle of a game, trying to communicate something, only to realize that you cant hear a voice while using the chat on Discord in the browser. Issue with Discord in Browser I'm using Internet Explorer 11 (No other options; Work computer.) discord, Stack Silver Boys. One does not need to start playback at that point, but can wait until a later time. The exact situations that result in blocking, and the specifics of how sites become allowlisted, vary from browser to browser, but the above are good guidelines to go by. For example, no Discord sound issues in Opera GX arent a thing to worry about. Consumption of the media (audio/video) must be greater than seven seconds. allow=autoplay. HTML Video Events Note that autoplay is allowed by default on same-origin iframes. Chrome for Android, Removing autoplay blocking on mobile when data saver mode is enabled, Unless there is a specific reason to do so, we recommend. The only way to bypass this would be your mouse movement implementation. Then I have code for js to resolve a play url. The term autoplay refers to any feature that causes media to begin to play without the user specifically requesting that playback begin. This poor user experience is the problem we are trying to solve. The default value is 0. It is so important that I'm going to write it one more time below for those who simply skim through that post. Spoiler alert: users are going to love it! It's much easier to detect a failure to autoplay media when you use the play() method to start it. Reply to this email directly, view it on GitHub, or mute the thread. // Remove listener so this only gets called once. Example 1: Every time a user visits VideoSubscriptionSite.com on their laptop they watch a TV show or a movie. On Jun 4, 2018, at 19:24, Rachel Fenichel ***@***. Note: Put another way, playback of any media that includes audio is generally blocked if the playback is programmatically initiated in a tab which has not yet had any user interaction. 2018). Summary Possible values are: 'probably': The specified media type appears to be playable. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. privacy statement. Browsers have historically been poor at helping the user manage sound. The HTML5 player you gave me seems quite good, and I like the UI. code The user has the option, however, of re-enabling the audio by clicking on the unmute button in the controls. When using the allow attribute on an