Implement auto-play functionality.