Can you please add events to youtube component, such as video end, paused etc?
Thanks for the feature request!
In the meantime, if you want to see what’s happening to a YouTube component, you can use a Timer to check its state
property every fraction of a second (eg if it was "PLAYING"
last time you checked and it’s now "ENDED"
, you know the video has just finished!).
Update: Done!
The YouTubeVideo
component now raises a state_changed
event whenever the video starts/ends/pauses/etc.
2 Likes