Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问你播放音乐的时候,打开查看元素,音乐会停掉吗? #2

Open
tsoil opened this issue Jun 22, 2019 · 1 comment

Comments

@tsoil
Copy link

tsoil commented Jun 22, 2019

我是按照你的思路来写的,直接
this.audio = document.createElement('audio')
this.audioCtx = new (window.AudioContext || window.webkitAudioContext)()
this.analyser = this.audioCtx.createAnalyser()
this.audioSrc = this.audioCtx.createMediaElementSource(this.audio)
...
打开查看元素 ,音乐有时会停掉,而且arry数组没变,导致动画一直卡住

@saysmy
Copy link
Owner

saysmy commented Jun 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants