Videoplayer source getter is missing

I really miss this block these days. There is no way to determine if a source is loaded into Kodular’s videoplayer component. The component GetDuration doesn’t help here because the videoplayer need to be in play or pause status to get the duration. And it returns “-1” if no source is loaded and also if a source is loaded and the player is in stop status.

1 Like

probably you can use the IsPlaying property as workaround?

u can better store the source in variable
blocks (15)

Thanks.That gave me the hint. In my case: Set a global variable to “” If video Ist recorded get the filepath into the variable. So I can determine if the source variable is empty or not.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.