Added Video URL generation code (you should have what you need to get playback to work)