mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
fix: 更新 Document Picture-in-Picture 占位符样式类名以提高可读性
This commit is contained in:
1 parent
1f142ced9f
commit
84c118855d
4 files changed
+9
-7
No files matched your search
@@ -84,7 +84,7 @@ export default function artplayerPluginDocumentPip(userOptions = {}) {
|
||||
state.currentDoc = pipWin.document
|
||||
|
||||
state.placeholder = document.createElement('div')
|
||||
state.placeholder.className = 'artplayer-pip-placeholder'
|
||||
state.placeholder.className = 'artplayer-document-pip-placeholder'
|
||||
state.placeholder.style.cssText = `display:flex;justify-content:center;align-items:center;width:100%;height:100%;`
|
||||
state.placeholder.textContent = options.placeholder
|
||||
state.originalParent = $container.parentNode
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
.art-video-player{
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
.artplayer-document-pip {
|
||||
.art-video-player{
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user