working on VideoCanvas class