To see your video under your rectangle, you need to draw your rectangle in all frames, for example:
v.addEventListener("play", function() {var i = window.setInterval(function() {
ctx.clearRect ( 0 , 0 , 300 , 300 );
ctx.drawImage(v,5,5,260,125)
ctx.beginPath();
ctx.rect(100, 100, 200, 200);
ctx.fillStyle = 'yellow';
ctx.fill();
ctx.lineWidth = 7;
ctx.strokeStyle = 'black';
ctx.stroke();
},20); }, false);
, ctx, context var. node, ... .