Browser denying javascript play()

There is some permission blocking in all modern browser (especially chrome) when comes down to autoplaying multimedia.

Here is the Autoplay availability’s section from MDN which shows when the media will be allowed to execute automatically:

  • The audio is muted or its volume is set to 0;
  • The user has interacted with the site (by clicking, tapping,
    pressing keys, etc.)
  • If the site has been whitelisted; this may happen
    either automatically if the browser determines that the user engages
    with media frequently, or manually through preferences or other user
    interface features
  • If the autoplay feature policy is used to grant
    autoplay support to an <iframe> and its document.

This here is a similar solution for what you want with arrayBuffer using AJAX

here is a DEMO

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)