By johnesposito
via css.dzone.com
Published: Apr 19 2012 / 09:23
Recently I came across the function drawImage, which can be used to draw an Image or Video on a HTML5 Canvas. Once an image is drawn on the Canvas, its base64 encoded data can be obtained by calling the toDataURL function on the Canvas object. This data can then be transferred over a ColdFusion WebSocket to all subscribers, who can then use this data to draw the image (video frame) on a Canvas.
Tweet
SaveShareSend
Tags: coldfusion, css-html, how-to, javascript
Add your comment