mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41: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
@@ -232,7 +232,7 @@ function artplayerPluginDocumentPip(userOptions = {}) {
|
||||
state.win = pipWin;
|
||||
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;
|
||||
@@ -333,7 +333,7 @@ if (typeof document !== 'undefined') {
|
||||
}
|
||||
|
||||
},{"bundle-text:./style.less":"dS6Bp","@parcel/transformer-js/src/esmodule-helpers.js":"8oCsH"}],"dS6Bp":[function(require,module,exports,__globalThis) {
|
||||
module.exports = ".art-video-player {\n width: 100% !important;\n height: 100% !important;\n}\n";
|
||||
module.exports = ".artplayer-document-pip .art-video-player {\n width: 100% !important;\n height: 100% !important;\n}\n";
|
||||
|
||||
},{}],"8oCsH":[function(require,module,exports,__globalThis) {
|
||||
exports.interopDefault = function(a) {
|
||||
|
||||
Reference in new issue
Block a user