Answers for "get thumbnail from .mp4 url javascript"

0

get thumbnail from .mp4 url javascript

//and code
function capture(){
    var canvas = document.getElementById('canvas');
    var video = document.getElementById('video');
    canvas.getContext('2d').drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
}
Posted by: Guest on June-07-2021

Code answers related to "get thumbnail from .mp4 url javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language