Commit 6ae135e8 by Иван Кубота

fix video el height

parent 84960880
......@@ -13,7 +13,7 @@
</head>
<body>
<video onloadedmetadata="" id="inputVideo" style="opacity: 0" autoplay muted playsinline></video>
<video onloadedmetadata="" id="inputVideo" style="opacity: 0;height:480px" autoplay muted playsinline></video>
<canvas id="playback" style="position: absolute;left:0"></canvas>
<canvas id="overlay" style="position: absolute;left:0"></canvas>
......@@ -296,8 +296,8 @@ var videoEl = inputVideo;
}
requestAnimationFrame(f);
//setTimeout(f, 300)
//requestAnimationFrame(f);
setTimeout(f, 300)
};
......
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