Extracted scheduling of videos to use API instead of hack.