Skip to content

Commit

Permalink
移动端默认网页全屏 (#48)
Browse files Browse the repository at this point in the history
* 移动端默认网页全屏

* 移动端默认网页全屏
  • Loading branch information
Mabisi authored Feb 25, 2024
1 parent 9ef5fff commit aeb6f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assets/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ a {
}
}

.art-control-fullscreenWeb {
.art-control-fullscreen {
display: none !important;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const newPlayerOption = (html: HTMLDivElement): Option => {
lock: true, // 移动端显示锁定按钮
fastForward: false, // 移动端添加长按视频快进功能
autoPlayback: false, // 使用自动回放功能
autoOrientation: true, // 移动端的网页全屏时,根据视频尺寸和视口尺寸,旋转播放器
autoOrientation: false, // 移动端的网页全屏时,根据视频尺寸和视口尺寸,旋转播放器
airplay: false, // 隔空播放
type: Props.options.type,
plugins: Props.options.plugins,
Expand Down

0 comments on commit aeb6f7d

Please sign in to comment.