mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 21:06:15 -08:00
add ie demo
This commit is contained in:
1 parent
a3a3f01bcc
commit
d536452067
1 file changed
+6
@@ -14,4 +14,10 @@ export default function resizeInit(art, events) {
|
||||
events.proxy(window, ['orientationchange', 'resize'], () => {
|
||||
resizeFn();
|
||||
});
|
||||
|
||||
if (screen && screen.orientation && screen.orientation.onchange) {
|
||||
events.proxy(screen.orientation, 'change', () => {
|
||||
resizeFn();
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user