Editing video code