diff --git a/dist/plex-meets-homeassistant.js b/dist/plex-meets-homeassistant.js index 24b31c6..299843c 100644 --- a/dist/plex-meets-homeassistant.js +++ b/dist/plex-meets-homeassistant.js @@ -20375,13 +20375,13 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.videoElem) { const videoPlayer = this.getElementsByClassName('videoPlayer')[0]; const video = videoPlayer.children[0]; - if (video.requestFullscreen && false) { + if (video.requestFullscreen) { video.requestFullscreen(); } - else if (video.webkitRequestFullscreen && false) { + else if (video.webkitRequestFullscreen) { video.webkitRequestFullscreen(); } - else if (video.msRequestFullscreen && false) { + else if (video.msRequestFullscreen) { video.msRequestFullscreen(); } else { diff --git a/src/plex-meets-homeassistant.ts b/src/plex-meets-homeassistant.ts index 33306d5..e758915 100644 --- a/src/plex-meets-homeassistant.ts +++ b/src/plex-meets-homeassistant.ts @@ -521,11 +521,11 @@ class PlexMeetsHomeAssistant extends HTMLElement { if (this.videoElem) { const videoPlayer = this.getElementsByClassName('videoPlayer')[0] as HTMLElement; const video = videoPlayer.children[0] as any; - if (video.requestFullscreen && false) { + if (video.requestFullscreen) { video.requestFullscreen(); - } else if (video.webkitRequestFullscreen && false) { + } else if (video.webkitRequestFullscreen) { video.webkitRequestFullscreen(); - } else if (video.msRequestFullscreen && false) { + } else if (video.msRequestFullscreen) { video.msRequestFullscreen(); } else { const videobgs1 = this.getElementsByClassName('videobg1');