

You could use, if the origin has an autoplay permission. Use the Autoplay attribute in HTML to autoplay the audio or video. Step one:Extracting audio for video file using javascript ( Extracting audio from a video file ) Step two:use AudioContext Api play the audio(it’s extract for video file),and play the video on muted You should use autoPlay and not autoplay. Autoplay is not honored on android as it will cost data usage. Please refer this link Chrome does not allow applications to play HTML5 audio without an explicit action by the user, similar to how it is handled by iOS, but differently than the stock Android browser handles it. The default browser in Android plays the song immediately.

Is it possible to play HTML5 audio on Android? So it looks like your problem would be solved if you put the. webm video if it comes after anything else. Important: the order of the video files is vital Chrome currently has a bug in which it will not autoplay a. Why does chrome not AutoPlay HTML 5 videos? The default HTML5 audio autoplay attribute is not working in chrome, but you can force audio autoplay using JavaScript. Is there a way to auto play audio in chrome? You can turn the extension off or on from its icon in the Chrome toolbar. Once you install the extension, it should prevent audio and video clips on web pages from playing automatically. Select the options to turn Autoplay On or Off.įor Google Chrome, one option is to go to the online Chrome Web Store and search for the free Disable HTML5 Autoplay extension. Finally, select the “Block audio and video” option as we did on the desktop browser.On the Settings page, select ‘Site permissions’ and then tap on the ‘Autoplay’ option on the next page.Open Firefox on your Android phone and tap on the three-dots menu at the top-right corner.To disable HTML5 in Google Chrome Web Store and search for the free Disable HTML5 Autoplay extension.
