deezer / deezer/javascript-samples

Deezer JavaScript SDK invisible player not working in Chrome.

未關閉
#2 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
74
分支
37
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。