

And the autoplay attribute will also be ignored. When the permissions policy for autoplay is disabled, calls to play() without a user gesture will reject the promise with a NotAllowedError DOMException. Note that autoplay is allowed by default on same-origin iframes. Once an origin has received autoplay permission, it can delegate that permission to cross-origin iframes with the permissions policy for autoplay. Do this with flags: chrome.exe -disable-features=PreloadMediaEngagementData, MediaEngagementBypassAutoplayPolicies.Ī permissions policy allows developers to selectively enable and disable browser features and APIs. You can also decide to make sure autoplay is never allowed by disabling MEI and whether sites with the highest overall MEI get autoplay by default for new users. This allows you to test your website as if user were strongly engaged with your site and playback autoplay would be always allowed. You can disable the autoplay policy entirely by using a command line flag: chrome.exe -autoplay-policy=no-user-gesture-required. # Developer switchesĪs a developer, you may want to change Chrome autoplay policy behavior locally to test your website for different levels of user engagement.

Screenshot of the about://media-engagement internal page in Chrome.

When it is high enough, media is allowed to autoplay on desktop only.Ī user's MEI is available at the about://media-engagement internal page.
BEST FREE VIDEO DOWNLOADER FOR CHROME 2017 INSTALL
# New behaviorsĪs you may have noticed, web browsers are moving towards stricter autoplay policies in order to improve the user experience, minimize incentives to install ad blockers, and reduce data consumption on expensive and/or constrained networks. Internet memes tagged "autoplay" found on Imgflip and Imgur.
