mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 12:11:20 -08:00
add getPosFromEventMobile
This commit is contained in:
1 parent
8549661327
commit
e862f8d56c
5 files changed
+90
-18
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { errorHandle, addClass, removeClass } from '../utils';
|
||||
import { errorHandle, addClass, removeClass, isMobile } from '../utils';
|
||||
import Component from '../utils/component';
|
||||
import fullscreen from './fullscreen';
|
||||
import fullscreenWeb from './fullscreenWeb';
|
||||
@@ -55,7 +55,7 @@ export default class Control extends Component {
|
||||
this.add(
|
||||
thumbnails({
|
||||
name: 'thumbnails',
|
||||
disable: !option.thumbnails.url || option.isLive,
|
||||
disable: !option.thumbnails.url || option.isLive || isMobile,
|
||||
position: 'top',
|
||||
index: 20,
|
||||
}),
|
||||
@@ -109,7 +109,7 @@ export default class Control extends Component {
|
||||
this.add(
|
||||
screenshot({
|
||||
name: 'screenshot',
|
||||
disable: !option.screenshot,
|
||||
disable: !option.screenshot || isMobile,
|
||||
position: 'right',
|
||||
index: 20,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user