mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
添加旋转和翻转设置
This commit is contained in:
1 parent
650d1abef3
commit
ccf1999e6d
17 files changed
+281
-60
No files matched your search
@@ -0,0 +1,13 @@
|
||||
.artplayer-video-player {
|
||||
&[data-flip] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-flip="horizontal"] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-flip="vertical"] {
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -14,3 +14,5 @@ import './aspectRatio.scss';
|
||||
import './fullscreenWeb.scss';
|
||||
import './pip.scss';
|
||||
import './autoSize.scss';
|
||||
import './flip.scss';
|
||||
import './rotate.scss';
|
||||
@@ -0,0 +1,21 @@
|
||||
.artplayer-video-player {
|
||||
&[data-rotate] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-rotate="0"] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-rotate="90"] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-rotate="180"] {
|
||||
//
|
||||
}
|
||||
|
||||
&[data-rotate="270"] {
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -50,5 +50,21 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.art-setting-btn {
|
||||
display: inline-block;
|
||||
padding: 2px 5px;
|
||||
min-width: 50px;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
border: 1px solid #fff;
|
||||
margin-right: 10px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover, &.current {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user