Dynamic Content Injection with HTML5 Video

  • Posted on April 21st, 2009

Paul Rouget has been pushing Canvas video in new and exciting ways with his dynamic content injection demo. Using the drawImage method provided by the canvas element, he has injected the content of a DOM element in to the canvas. This injection works with three kinds of elements: images, canvas and video.

Spinning around

Paul explains how the demo works:

First, the content of the video is injected in the main canvas. That’s why the canvas element looks like a video element. Second, the position of the 2 brighter areas of the canvas are computed (you have access to all pixels values). Third, the required transformation is computed (rotation, scale, translation). Fourth, the content of the selected pattern is injected in the main canvas following the transformation.

Currently, the demo only works on Firefox 3.1 beta or higher.

Check out the dynamic content injection demo, or read more about the demo


Posted on:
April 21st, 2009
Posted by:
Andi Smith



Your Rating:
1 Star2 Stars3 Stars4 Stars5 Stars

Works on

BETA Please let us know if you find Dynamic Content Injection with HTML5 Video works in other browsers by leaving a comment below.



You can try to safeguard everything you to, everything that you think of, but something is going to go wrong and consequences will result from your lack of thought or creativity. Change your location in the top right and search away. Microsoft Visual Studio 2012 Ultimate key Gzvqvk cheap windows 7
Windows MultiPoint Server 2012 Standard product key Dnhxqf Cries of “Death to Pakistan!” were frequent refrains in the chorus that now accompanies New Delhi and Islamabad’s testy wrangling over the pursuit of terror suspects living in Pakistan. windows 7 professional 32 bit product key
windows 7 ultimate activation key 6326419398

Posted on September 24, 2013

Add comment

(will not be published)