frame-grab js code example Example: frame-grab js var fg = new FrameGrab({ video: document.getElementById("myVideo") });