This commit is contained in:
Ali
2020-02-20 18:08:36 +04:00
parent a75bd17b6c
commit f57d6b6168
8323 changed files with 4359 additions and 56254 deletions

View File

@@ -0,0 +1,26 @@
function initialize() {
var video = document.getElementsByTagName("video")[0];
if (video != null) {
video.setAttribute("webkit-playsinline", "");
video.setAttribute("playsinline", "");
video.webkitExitFullscreen = undefined;
video.play();
}
}
function receiveMessage(evt) {
if ((typeof evt.data) != "string")
return;
try {
var obj = JSON.parse(evt.data);
if (!obj.event || obj.event != "inject")
return;
if (obj.command == "initialize")
initialize();
} catch (ex) { }
}
window.addEventListener("message", receiveMessage, false);