From a8ebe8c3e8299f70d599751081ac8ff3966b2a88 Mon Sep 17 00:00:00 2001 From: MrMilhas Date: Wed, 15 Nov 2023 10:29:43 -0300 Subject: [PATCH] =?UTF-8?q?Corrigindo=20distor=C3=A7=C3=A3o=20no=20video?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 9f91422..cd887e0 100644 --- a/index.html +++ b/index.html @@ -332,14 +332,18 @@

Sons

var width = video.width; var height = video.height; - screen.orientation.addEventListener("change", function(e) { + //screen.orientation.addEventListener("change", function(e) { // video.width = height; // video.height = width; - $( "#video" ).load(window.location.href + " #video" ); - $( "#output" ).load(window.location.href + " #output" ); - $( "#cvn" ).load(window.location.href + " #cvn" ); + // $( "#video" ).load(window.location.href + " #video" ); + // $( "#output" ).load(window.location.href + " #output" ); + // $( "#cvn" ).load(window.location.href + " #cvn" ); // output.width = height; // output.height = width; + //}); + window.addEventListener("orientationchange", function(event) { + document.getElementById('video').innerHTML = "Reloaded"; + document.getElementById('output').innerHTML = "Reloaded"; });