nondanee / vsc-netease-music

UNOFFICIAL Netease Music extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=nondanee.vsc-netease-music
MIT License
1.03k stars 79 forks source link

issue: please interact with the document first otherwise play( ) will failed #6

Closed buerlee closed 5 years ago

buerlee commented 5 years ago

when input netease start

it shows "please interact with the document first otherwise play( ) will failed"

My OS is Win 10

Thank you.

nondanee commented 5 years ago

Just follow the instruction, 'click' anywhere in that webview page This step is required due to Chrome Autoplay Policy.

buerlee commented 5 years ago

Got it. thanks a lot for your so fast response.

mxmingya commented 4 years ago

I got the same error and clicking on the webview didnt resolve it.

got following details from pop out tabs.

"Please interact with the document first otherwise play() will failed"

nondanee commented 4 years ago

@mxmingya

Is there any error raising (like "NotSupportedError") ? #73 #75 #78 Do you replace the ffmpeg dynamic lib before ? (refer to https://github.com/nondanee/vsc-netease-music#requirement)

Or maybe something work wrong in the webview Press F1 and choose the Open Webview Developer Tools, You can see the console log of the Webview

GangLongYu commented 4 years ago

@mxmingya

Is there any error raising (like "NotSupportedError") ? #73 #75 #78 Do you replace the ffmpeg dynamic lib before ? (refer to https://github.com/nondanee/vsc-netease-music#requirement)

Or maybe something work wrong in the webview Press F1 and choose the Open Webview Developer Tools, You can see the console log of the Webview

我的webview报错是Uncaught TypeError: Cannot read property 'setActionHandler' of undefined at <anonymous>:77:27,neteaseMusic界面只有Please interact with the document first otherwise play() will failed,vscode版本是1.39.2,electron是4.2.10,请问有什么解决方法吗,非常感谢

GangLongYu commented 4 years ago

@mxmingya Is there any error raising (like "NotSupportedError") ? #73 #75 #78 Do you replace the ffmpeg dynamic lib before ? (refer to https://github.com/nondanee/vsc-netease-music#requirement) Or maybe something work wrong in the webview Press F1 and choose the Open Webview Developer Tools, You can see the console log of the Webview

我的webview报错是Uncaught TypeError: Cannot read property 'setActionHandler' of undefined at <anonymous>:77:27,neteaseMusic界面只有Please interact with the document first otherwise play() will failed,vscode版本是1.39.2,electron是4.2.10,请问有什么解决方法吗,非常感谢

更新版本之后就可以了,感谢您的插件