Merge pull request #3158 from 138138138/138138138-mobileui-forward-rate

このコミットが含まれているのは:
Samantaz Fox 2022-07-07 00:05:25 +02:00
コミット dc6d088e30
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: F42821059186176E
1個のファイルの変更4行の追加1行の削除

ファイルの表示

@ -145,7 +145,7 @@ function isMobile() {
}
if (isMobile()) {
player.mobileUi();
player.mobileUi({ touchControls: { seekSeconds: 5 * player.playbackRate() } });
var buttons = ['playToggle', 'volumePanel', 'captionsButton'];
@ -274,6 +274,9 @@ function updateCookie(newVolume, newSpeed) {
player.on('ratechange', function () {
updateCookie(null, player.playbackRate());
if (isMobile()) {
player.mobileUi({ touchControls: { seekSeconds: 5 * player.playbackRate() } });
}
});
player.on('volumechange', function () {