|
|
@ -521,11 +521,11 @@ class PlexMeetsHomeAssistant extends HTMLElement {
|
|
|
|
if (this.videoElem) {
|
|
|
|
if (this.videoElem) {
|
|
|
|
const videoPlayer = this.getElementsByClassName('videoPlayer')[0] as HTMLElement;
|
|
|
|
const videoPlayer = this.getElementsByClassName('videoPlayer')[0] as HTMLElement;
|
|
|
|
const video = videoPlayer.children[0] as any;
|
|
|
|
const video = videoPlayer.children[0] as any;
|
|
|
|
if (video.requestFullscreen && false) {
|
|
|
|
if (video.requestFullscreen) {
|
|
|
|
video.requestFullscreen();
|
|
|
|
video.requestFullscreen();
|
|
|
|
} else if (video.webkitRequestFullscreen && false) {
|
|
|
|
} else if (video.webkitRequestFullscreen) {
|
|
|
|
video.webkitRequestFullscreen();
|
|
|
|
video.webkitRequestFullscreen();
|
|
|
|
} else if (video.msRequestFullscreen && false) {
|
|
|
|
} else if (video.msRequestFullscreen) {
|
|
|
|
video.msRequestFullscreen();
|
|
|
|
video.msRequestFullscreen();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
const videobgs1 = this.getElementsByClassName('videobg1');
|
|
|
|
const videobgs1 = this.getElementsByClassName('videobg1');
|
|
|
|