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 摘要。