se elimina boton de volver a paso 1 en paso 3

parent e5757102
......@@ -32,7 +32,7 @@
if (!streaming) {
console.log(video.videoHeight);
if (video.videoHeight > width) {
/*if (video.videoHeight > width) {
console.log("PORTRAIT");
width = 0;
height = 630;
......@@ -50,7 +50,7 @@
streaming = true;
} else {
}else {*/
console.log("LANDSCAPE");
height = video.videoHeight / (video.videoWidth / width);
console.log(height);
......@@ -64,7 +64,7 @@
canvas.setAttribute('height', height);
streaming = true;
}
}
/*}*/
}, false);
startbutton.addEventListener('click', function (ev) {
......
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