A while ago j.bratton posted a great piece of script "YouTube Autoplay No branding etc. Countdown Timers V7" (https://sawtoothsoftware.com/forum/192/youtube-autoplay-no-branding-etc-countdown-timers-v7
I have successfully used this but now face the problem that the video can be of different length (from 30" to 1'30"), there are 3 slots and the videos are randomly assigned.
How would you suggest modify the original script, below:
var timeOutRemaining = 11; //3 Seconds
On the basis of variable Ask1 which can have a value from 1 to 7 (with videos of 3 different lengths)