I started working with Canvas and HTML5 video, and I have a problem: I tried demos and experiments, but I canβt watch them if I donβt upload them to my web server. This does not create a huge problem at the moment, because I work with relatively small files, but in fact I am preparing a larger project, and this problem will be very inconvenient very quickly. And also I just wanted to get my facts straight. I work both with my own videos and with demos. I worked with videos that I encoded many years ago, and I worked with videos that I encoded in a minute before using them in my code. This is always the same result: using the HTML5 Video container, using the video inside Canvas is not performed, Canvas just does not display the video (if, as I mentioned, I do not upload them to the server).
This is the information I have found so far:
http://html5doctor.com/video-canvas-magic/
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#security-with-canvas-elements
(and some info on w3, but I'm not allowed to post more than two links)
From what I understand, my canvas should be corrupted, and my files do not look βclean,β but thatβs all I managed to figure out. I do not understand why.
Does anyone know about this and can explain how and why it works?
source share