How can detect sound on webpage with JavaScript in PhantomJS?

故事扮演 提交于 2019-12-20 07:16:08

问题


I need detect all sound in webpage with banners. How I can do this? I look to PhantomJS, but can't find a API for browser sound.


回答1:


PhantomJS (1.x and 2) doesn't support either Flash, <video> or the <audio> element. There is no way to detect sound, because there isn't any.

From the docs:

Support for plugins (such as Flash) was dropped a long time ago.

and

Video and Audio would require shipping a variety of different codecs.



来源:https://stackoverflow.com/questions/31697239/how-can-detect-sound-on-webpage-with-javascript-in-phantomjs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!