Skip to content

Commit

Permalink
Corrigindo distorção no video
Browse files Browse the repository at this point in the history
  • Loading branch information
SonanFarr committed Nov 15, 2023
1 parent 3773a1c commit 0033823
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,14 @@ <h1>Sons</h1>
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" );
// output.width = height;
// output.height = width;
//});
});
</script>
</body>

Expand Down

0 comments on commit 0033823

Please sign in to comment.