mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
fix(core): [PKG-DPIP-05] keep web fullscreen in the active document
This commit is contained in:
1 parent
401c5e9684
commit
7e37fd4d0e
19 files changed
+1408
-15
No files matched your search
@@ -526,6 +526,9 @@ the captured position even if FULLSCREEN_WEB_IN_BODY changes while active. Destr
|
||||
restores the player before template.destroy, so removeHtml still owns the same tree.
|
||||
Failed exit retains the snapshot for retry; reentrant event/DOM callbacks supersede
|
||||
the earlier setter. Normal fullscreenWeb/resize ordering remains synchronous.
|
||||
Body placement uses the player's current ownerDocument, including an adopted
|
||||
Document PiP window or iframe. The opener's global document must never reclaim
|
||||
the player when entering web fullscreen in another document.
|
||||
|
||||
Destroy is terminal: if restoring the original position throws before reattachment,
|
||||
detach the displaced player so template cleanup cannot leave an orphan in body. The
|
||||
|
||||
Reference in new issue
Block a user