0

我用 document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = x;andx从0到16。如果大于16就会出错

VM308:1 Uncaught DOMException: Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided playback rate (17) is not in the supported playback range.
    at <anonymous>:1:82

那么,如何将其加速超过 16 倍呢?谢谢

4

1 回答 1

0
VM308:1 Uncaught DOMException: Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided playback rate (17) is not in the supported playback range.
    at <anonymous>:1:82

The provided playback rate (17) is not in the supported playback range.

你不能播放超过 16 倍

0.0625< video speed < 16

无论如何,你为什么想要一个非常高的播放率?

于 2021-09-13T09:40:49.050 回答