Skip to content

Callback Events

mika edited this page May 2, 2018 · 4 revisions

When videoplayer starts or ends, LUA method is called (if its available in the script)

  • function OnVideoStart()

  • function OnVideoEnd()

  • function OnVideoFailed()

    • called when video fails to play (for example live stream url not founded)
  • function OnVideoExit()

    • user clicked exit button on video player

example: https://github.com/NTUSPMS/BinooAPI/blob/master/Callbacks/videoplayer-callback.lua

Clone this wiki locally