If it's stupid but works, it isn't stupid.
НТМL5 video http://camendesign.com/code/video_for_everybody
video + canvas http://html5doctor.com/video-canvas-magic/
video + canvas http://html5doctor.com/video-canvas-magic/