se elimina boton de volver a paso 1 en paso 3

parent cd65a30d
...@@ -30,8 +30,10 @@ ...@@ -30,8 +30,10 @@
video.addEventListener('canplay', function (ev) { video.addEventListener('canplay', function (ev) {
if (!streaming) { if (!streaming) {
console.log(video.videoHeight); console.log(video.videoHeight);
if (video.videoHeight > width) { if (video.videoHeight > width) {
console.log("PORTRAIT");
width = 0; width = 0;
height = 630; height = 630;
...@@ -49,7 +51,7 @@ ...@@ -49,7 +51,7 @@
} else { } else {
console.log("LANDSCAPE");
height = video.videoHeight / (video.videoWidth / width); height = video.videoHeight / (video.videoWidth / width);
console.log(height); console.log(height);
if (isNaN(height)) { if (isNaN(height)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment