_allScreen(r) {
this.isAll = true;
console.log(r.videoId, r);
this.screenId = r.videoId;
var videoElement = document.getElementById(r.videoId);
const videoElement1 = document.getElementById("V_" + r.videoId);
let doc = this.type == "phone" ? videoElement1 : videoElement1;
if (doc.requestFullscreen) {
doc.requestFullscreen();
} else if (doc.webkitRequestFullScreen) {
doc.webkitRequestFullScreen();
} else if (doc.mozRequestFullScreen) {
doc.mozRequestFullScreen();
} else if (doc.msRequestFullscreen) {
doc.msRequestFullscreen();
}
},
exitFullscreen(r) {
this.isAll = false;
var videoElement = document.getElementById(r.videoId);
let doc = this.type == "phone" ? document : document;
if (doc.exitFullscreen) {
doc.exitFullscreen();
} else if (doc.webkitCancelFullScreen) {
doc.webkitCancelFullScreen();
} else if (doc.mozCancelFullScreen) {
doc.mozCancelFullScreen();
} else if (doc.msExitFullscreen) {
doc.msExitFullscreen();
}
},