You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
document.addEventListener('fullscreenchange',(event)=>{// document.fullscreenElement will point to the element that// is in fullscreen mode if there is one. If there isn't one,// the value of the property is null.if(document.fullscreenElement){console.log(`Element: ${document.fullscreenElement.id} entered full-screen mode.`);}else{console.log('Leaving full-screen mode.');}});
第462天 HTML5如何监听video的全屏和退出全屏?
3+1官网
我也要出题
The text was updated successfully, but these errors were encountered: