Chrome uses the global default settings unless you choose special settings for individual websites. Embedded content in a cross-origin IFrame needs to have permission to autoplay Most of the modern browsers prevent audio/video autoplay before user interaction with the page. Checking for undefined prevents this code from failing with an error on older versions of web browsers. These origins are separated by space characters. That could happen if the video is paused and resumed by the user or automatically by the browser when the document is in a background tab. How can I download and play audio clips without user interaction? A user gesture has been interpreted to mean a user-initiated event, normally a click event. Cross-browser audio basics - Developer guides | MDN The Autoplay Policy launched in M66 Stable for