HTML5 Video Volume

后端 未结 4 1484
慢半拍i
慢半拍i 2020-12-17 09:31

I\'m currently working on an HTML5 video player, I have it working fully everywhere, except on the iPad. Basically, I can control everything, except the sound, I have a

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 09:50

    The volume property on the iOS devices is read-only according to Apple's documentation:

    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.

提交回复
热议问题