Deezer JavaScript SDK invisible player not working in Chrome.
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- frontend
研究方向
首先,使用 Deezer SDK 進入點 DZ.player.play() 和 DZ.player.seek(1) 在 Chrome 中重現問題。閱讀 Chrome 關於自動播放限制的指南,並比較先前與 document 互動和未互動時的行為。當不可見播放器的行為在 Chrome 中正常運作,或已記錄支援的限制和必要的處理方式時,即視為完成。
由索引模型根據 Issue 內容生成。
描述
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?
- 主要語言
- JavaScript
- 星號
- 74
- 分支
- 37
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
deezer/javascript-samples 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 20/100
deezer/javascript-samples#8 · 1 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 20/100
-
Uj未關閉
難度 5/5 一週以上 新手友好度 1/100
-
Broken examples未關閉
難度 3/5 1-2 天 新手友好度 35/100
deezer/javascript-samples#3 · 3 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
deezer/javascript-samples#1 · 1 則留言 ·
查看 deezer/javascript-samples 的全部 Issue
相似的 Issue
-
automated issue report
難度 2/5 1-3 小時 新手友好度 62/100
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
0. to triage bug
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
sindresorhus/eslint-plugin-unicorn#3825 ·
維護者通常 1 天內回覆