[Logged] Video.totalTime is 0 when Start trigger fires
Looks like video attributes are not necessarily finished initializing when a Start trigger is fired. Not sure if this is a bug or expected behaviour, but the behaviour has changed in a way that broke old stable logic in my video player (this could just be a result of a race condition and my having a faster computer than I did when I built the video player.)
If this can’t be avoided, it would be lovely to have a Trigger for something like “Loaded” which fires when all attributes of all elements of the scene are initialized and ready to be accessed. Or this could be another option in the Start trigger maybe - “Wait for complete load” or such?
Protopie Studio 7.8.1
Apologies if this is a known issue
example with totalTime accessed in Start trigger
https://cloud.protopie.io/p/2fe7765ab694c37a00570b72?ui=true&scaleToFit=true&enableHotspotHints=true&cursorType=touch&mockup=true&bgColor=%23F5F5F5&playSpeed=1
example with totalTime accessed in Start trigger with a slight (.2 sec) start delay