Added video logic.