📜 ⬆️ ⬇️

A hint with a live video demonstrates HTML5 video, and canvas (canvas), and Ext

[tooltip with live video]
David Davis from Ext is not just cool, but he does cool stuff :) The last blog post demonstrates and explains the merging of the HTML5 <video> element with the canvas (<canvas>) as it creates a tooltip with a live video.

In this example , the working web-table Ext JS is used , and the generated code delivers a special panel capable of delivering the video, and then the video frame is simply captured, and its size is reduced to the size of the tooltip:
win.ctx.drawImage (win.videoEl, 0, 0, win.tip.width, win.tip.height);
Very nicely arranged.

')

Source: https://habr.com/ru/post/80934/


All Articles