fixes #164, fixes #116: changed video to use canvas