2 Replies Latest reply on Mar 7, 2016 3:22 PM by ClayUUID

    Loading video in canvas extended

    M Web Dev

      So after doing a lot of research on here I see that the only way to load a video is using dom manipulation and creating a video tag. And i am assuming use the CSS  to position it over your canvas, as if it was part of it.

      Source : how to load video in Html5 Canvas?

       

      My other questions include, will this work for adding let's say a youtube video? I think yes cause you are just manipulating the dom.

       

       

      Second and most important question how do I differentiate code that will work in Canvas output vs Flash? Like is there any documentation on Canvas code reference?

      Like can i just write in javascript and everything will be fine?