iOS Question VideoPlayer Sensing Play/Pause Change

Erel

Administrator
Staff member
Licensed User
Try this:
B4X:
Dim no As NativeObject = VideoPlayer1
Dim state As Int = no.GetField("controller").GetField("player").GetField("timeControlStatus").AsNumber
Should return 0 for paused and 2 for playing. You can use a timer to monitor it.
 
Last edited:
Top