mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Remove touch player animation option
This commit is contained in:
parent
8532b9c6fc
commit
52473d1454
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved (Preview)
|
// @name Bilibili Evolved (Preview)
|
||||||
// @version 1.8.7
|
// @version 1.8.8
|
||||||
// @description Bilibili Evolved 的预览版, 可以抢先体验新功能.
|
// @description Bilibili Evolved 的预览版, 可以抢先体验新功能.
|
||||||
// @author Grant Howard, Coulomb-G
|
// @author Grant Howard, Coulomb-G
|
||||||
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||||
@ -167,7 +167,6 @@ const settings = {
|
|||||||
removeAds: true,
|
removeAds: true,
|
||||||
hideTopSearch: false,
|
hideTopSearch: false,
|
||||||
touchVideoPlayerDoubleTapControl: false,
|
touchVideoPlayerDoubleTapControl: false,
|
||||||
touchVideoPlayerAnimation: false,
|
|
||||||
customStyleColor: '#00A0D8',
|
customStyleColor: '#00A0D8',
|
||||||
preserveRank: true,
|
preserveRank: true,
|
||||||
blurBackgroundOpacity: 0.382,
|
blurBackgroundOpacity: 0.382,
|
||||||
@ -263,6 +262,7 @@ const fixedSettings = {
|
|||||||
forceWide: false,
|
forceWide: false,
|
||||||
useNewStyle: false,
|
useNewStyle: false,
|
||||||
overrideNavBar: false,
|
overrideNavBar: false,
|
||||||
|
touchVideoPlayerAnimation: false,
|
||||||
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
|
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
|
||||||
currentVersion: GM_info.script.version,
|
currentVersion: GM_info.script.version,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved
|
// @name Bilibili Evolved
|
||||||
// @version 1.8.7
|
// @version 1.8.8
|
||||||
// @description 增强哔哩哔哩Web端体验: 下载视频, 音乐, 封面, 弹幕; 自定义播放器的画质, 模式, 布局; 自定义顶栏, 删除广告, 使用夜间模式; 以及增加对触屏设备的支持等.
|
// @description 增强哔哩哔哩Web端体验: 下载视频, 音乐, 封面, 弹幕; 自定义播放器的画质, 模式, 布局; 自定义顶栏, 删除广告, 使用夜间模式; 以及增加对触屏设备的支持等.
|
||||||
// @author Grant Howard, Coulomb-G
|
// @author Grant Howard, Coulomb-G
|
||||||
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||||
@ -167,7 +167,6 @@ const settings = {
|
|||||||
removeAds: true,
|
removeAds: true,
|
||||||
hideTopSearch: false,
|
hideTopSearch: false,
|
||||||
touchVideoPlayerDoubleTapControl: false,
|
touchVideoPlayerDoubleTapControl: false,
|
||||||
touchVideoPlayerAnimation: false,
|
|
||||||
customStyleColor: '#00A0D8',
|
customStyleColor: '#00A0D8',
|
||||||
preserveRank: true,
|
preserveRank: true,
|
||||||
blurBackgroundOpacity: 0.382,
|
blurBackgroundOpacity: 0.382,
|
||||||
@ -263,6 +262,7 @@ const fixedSettings = {
|
|||||||
forceWide: false,
|
forceWide: false,
|
||||||
useNewStyle: false,
|
useNewStyle: false,
|
||||||
overrideNavBar: false,
|
overrideNavBar: false,
|
||||||
|
touchVideoPlayerAnimation: false,
|
||||||
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js',
|
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js',
|
||||||
currentVersion: GM_info.script.version,
|
currentVersion: GM_info.script.version,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved (Preview)
|
// @name Bilibili Evolved (Preview)
|
||||||
// @version 1.8.7
|
// @version 1.8.8
|
||||||
// @description Bilibili Evolved 的预览版, 可以抢先体验新功能.
|
// @description Bilibili Evolved 的预览版, 可以抢先体验新功能.
|
||||||
// @author Grant Howard, Coulomb-G
|
// @author Grant Howard, Coulomb-G
|
||||||
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||||
|
|||||||
@ -46,7 +46,6 @@ export const settings = {
|
|||||||
removeAds: true,
|
removeAds: true,
|
||||||
hideTopSearch: false,
|
hideTopSearch: false,
|
||||||
touchVideoPlayerDoubleTapControl: false,
|
touchVideoPlayerDoubleTapControl: false,
|
||||||
touchVideoPlayerAnimation: false,
|
|
||||||
customStyleColor: '#00A0D8',
|
customStyleColor: '#00A0D8',
|
||||||
preserveRank: true,
|
preserveRank: true,
|
||||||
blurBackgroundOpacity: 0.382,
|
blurBackgroundOpacity: 0.382,
|
||||||
@ -142,6 +141,7 @@ const fixedSettings = {
|
|||||||
forceWide: false,
|
forceWide: false,
|
||||||
useNewStyle: false,
|
useNewStyle: false,
|
||||||
overrideNavBar: false,
|
overrideNavBar: false,
|
||||||
|
touchVideoPlayerAnimation: false,
|
||||||
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
|
latestVersionLink: 'https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js',
|
||||||
currentVersion: GM_info.script.version,
|
currentVersion: GM_info.script.version,
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
2
min/touch-player.min.js
vendored
2
min/touch-player.min.js
vendored
File diff suppressed because one or more lines are too long
@ -293,7 +293,7 @@ function setupTouchPlayer (player) {
|
|||||||
}
|
}
|
||||||
$('.bilibili-player-video-subtitle').before(/* html */`
|
$('.bilibili-player-video-subtitle').before(/* html */`
|
||||||
<div class='touch-video-box-wrapper'>
|
<div class='touch-video-box-wrapper'>
|
||||||
<div class='touch-video-box adjust-closed'>
|
<div class='touch-video-box adjust-closed animation'>
|
||||||
<div class='touch-video-info'>
|
<div class='touch-video-info'>
|
||||||
<div class='touch-row'>
|
<div class='touch-row'>
|
||||||
<div class='touch-row-item'>
|
<div class='touch-row-item'>
|
||||||
@ -349,9 +349,6 @@ function setupTouchPlayer (player) {
|
|||||||
video.prop('muted', false)
|
video.prop('muted', false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (settings.touchVideoPlayerAnimation) {
|
|
||||||
box.classList.add('animation')
|
|
||||||
}
|
|
||||||
|
|
||||||
swiper.action.onActionStart = direction => {
|
swiper.action.onActionStart = direction => {
|
||||||
box.classList.add('adjust-opened')
|
box.classList.add('adjust-opened')
|
||||||
|
|||||||
@ -108,7 +108,6 @@
|
|||||||
<checkbox indent="0" key="touchNavBar" dependencies=""></checkbox>
|
<checkbox indent="0" key="touchNavBar" dependencies=""></checkbox>
|
||||||
<checkbox indent="0" key="comboLike" dependencies=""></checkbox>
|
<checkbox indent="0" key="comboLike" dependencies=""></checkbox>
|
||||||
<checkbox indent="0" key="touchVideoPlayer" dependencies=""></checkbox>
|
<checkbox indent="0" key="touchVideoPlayer" dependencies=""></checkbox>
|
||||||
<checkbox indent="1" key="touchVideoPlayerAnimation" dependencies="touchVideoPlayer"></checkbox>
|
|
||||||
<checkbox indent="1" key="touchVideoPlayerDoubleTapControl" dependencies="touchVideoPlayer"></checkbox>
|
<checkbox indent="1" key="touchVideoPlayerDoubleTapControl" dependencies="touchVideoPlayer"></checkbox>
|
||||||
<category icon="other">其他</category>
|
<category icon="other">其他</category>
|
||||||
<checkbox indent="0" key="toast" dependencies=""></checkbox>
|
<checkbox indent="0" key="toast" dependencies=""></checkbox>
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
1.8.7
|
1.8.8
|
||||||
Loading…
Reference in New Issue
Block a user