0

Get video player by event

Hi,

is there anyway to get the roVideoPlayer by its roVideoEvent or its roUserData.

I get the events of the player and can read its userData, what seems to be an indicator of the videoPlayer object. I struggle to get the player and its zone wich sends the event.

I am that "far":

function VideoDuration_ProcessEvent(event as Object)

print type(event)

if type(event)="roVideoEvent" then
print type(event.GetData())
print event.GetData()
endif

return false
end function

 
 
 
 

1 comment

  • 0
    Avatar
    Lyndon

     

    If you can get the user data for the video player, and there are multiple video players in the project, then yes, you can look at the user data for each.

    What exactly are you trying to figure out? which zone is currently playing? What are you trying to do?

Please sign in to leave a comment.