所以它看起来像setVolume()
对于 html5 音频在 Android Stock 浏览器和 Mobile Safari 上根本不起作用。这是一个 test case .
是否有任何进一步的证据,一个悬而未决的问题,甚至可能是一种解决方法(除了为 android 使用 Flash 之外)?
最佳答案
来自 Safari HTML5 Audio and Video guide :
On iOS devices, the audio level is always under the user’s physical control. The volume property is not settable in JavaScript. Reading the volume property always returns 1.
在所有其他设备上,您还可以设置
muted
属性(property)到true
.
关于mobile - html5 音频的 setVolume 在移动 Android 或 Safari 上不起作用 - 任何解决方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9752983/