lundi 29 novembre 2021

I want to play a video in canvas in javascript without

A.O.A(greetings) I saw many snippets of code that how we play video on js canvas but all these snippets use video tag on same page but I don't want to do this! I want to do something like this: var video = new Video() video.src = "sample.mp4" ctx.drawImage(video,0,0) video.currentTime++ can anyone help me




Aucun commentaire:

Enregistrer un commentaire