video generator code that looks out of date