在PhantomJS如何检测网页上的声音的JavaScript? [英] How can detect sound on webpage with JavaScript in PhantomJS?
本文介绍了在PhantomJS如何检测网页上的声音的JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要检测所有的声音在网页的横幅。我怎样才能做到这一点?
我期待PhantomJS,但无法找到浏览器声音的API。
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.
推荐答案
PhantomJS(1.x和2)不支持任何的Flash,<视频>
或在<音频>
元素。没有办法来检测声音,因为没有任何
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.
从文档:
有关支持的插件(如Flash)是很久以前下降了。
Support for plugins (such as Flash) was dropped a long time ago.
和
视频和音频将需要运送各种不同的codeCS的。
Video and Audio would require shipping a variety of different codecs.
这篇关于在PhantomJS如何检测网页上的声音的JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文