I’m looking to set the duration of a slide dynamically.
What I’m trying to accomplish is to setup a list of youtube video, what I want is that at every loop of the playlist, another video is selected randomly.
So my issue then is, how do I define the slide duration dynamically, so that it is the same length as the video that is going to be played?
If anybody have any idea of how could this be implemented, I would be really greatfull to hear from you!
Thanks in advance.