You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like because of Chrome restriction to iframe autoplay I can't get invisible player working in Chrome.
DZ.player.play() just not seems to work and DZ.player.seek(1) fails with this one:
player-HTML5Renderer.8af98a26e99674f368c5.js:1 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD
Any ideas how to handle it?
The text was updated successfully, but these errors were encountered:
cyrstron
changed the title
DeezerJavaScript SDK invisible player not working in Chrome.
Deezer JavaScript SDK invisible player not working in Chrome.
May 2, 2020
Actually, it's not a Deezer issue. Chrome made some change in it's autoplay policy and you need first to get a user interaction on the page to make it works (mouse click) :
But the problem is that I have to make user click hidden iframe to make player work. Clicks on the outer page in Chrome does not help. I've already tried to set up PWA but it does not help too.
And I still need to keep it without visible iframe. So I'll be very grateful for any ideas.
It looks like because of Chrome restriction to iframe autoplay I can't get invisible player working in Chrome.
DZ.player.play()
just not seems to work andDZ.player.seek(1)
fails with this one:Any ideas how to handle it?
The text was updated successfully, but these errors were encountered: