updated with fixes to ensure videoID is retrieved and passed