Forum Discussion
Kosso1
10 months agoBinge Watcher
You will need to add an observer to detect changes to the "state" field.
eg:
First assign your 'video' variable as 'm.video' so it can be accessed in the state event ...
m.video.observeField("state", "onVideoState")
'....
sub onVideoState()
if m.video.state = "finished"
' reset the video content or just play the video again... etc.
' m.video.control = "play"
end if
end sub