javascript - drawing html5 video on a canvas - on iPad -
i'm drawing video on canvas, works fine safari / chrome / firefox / opera, on ipad, though video plays, (correct codec, etc) never rendered on canvas,
basically call :
canvas.getcontext("2d").drawimage(video, 0, 0);
when video playing, , stop doing when video paused or ended.
is there else should consider? clearing canvas?
for safari on ipad not supporting feature. there limits on attributes , events of canvas tag , video tag of html5 particularly on ipad. attributes , events of canvas , video tags work fine on desktop browsers wont work on ipad. personal experience too.
Comments
Post a Comment