VideoViewEvents: { Finish: "finish"; Ready: "ready"; Failure: "failure"; RestoreUserInterfaceForPictureInPictureStopWithCompletionHandler: "restoreUserInterfaceForPictureInPictureStopWithCompletionHandler"; WillStartPictureInPicture: "willStartPictureInPicture"; WillStopPictureInPicture: "willStopPictureInPicture"; DidStartPictureInPicture: "didStartPictureInPicture"; DidStopPictureInPicture: "didStopPictureInPicture"; FullScreenModeChanged: "fullScreenModeChanged"; ControllerVisibilityChange: "controllerVisibilityChange"; Touch: "touch"; TouchCancelled: "touchCancelled"; TouchEnded: "touchEnded"; TouchMoved: "touchMoved" } = ...

Type declaration

  • Finish: "finish"

    This event is called when the video clip completed playing.

    onFinish

    Android

    Ios

    Param

    Since

    0.1

  • Ready: "ready"

    This event is called when the video clip is ready to be played.

    onReady

    Android

    Ios

    Param

    Since

    0.1

  • Failure: "failure"

    This event is called when the video player failed.

    onFailure

    Android

    Ios

    Param

    Since

    4.3.6

  • RestoreUserInterfaceForPictureInPictureStopWithCompletionHandler: "restoreUserInterfaceForPictureInPictureStopWithCompletionHandler"

    Tells the delegate when Picture in Picture is about to stop, to give your app an opportunity to restore its video playback user interface.

    restoreUserInterfaceForPictureInPictureStopWithCompletionHandler

    Ios

    Param

    Param

    To allow the system to finish restoring your user interface, you must call the completion handler with a value of true.

    Since

    4.3.1

  • WillStartPictureInPicture: "willStartPictureInPicture"

    Picture in Picture is about to start.

    willStartPictureInPicture

    Ios

    Param

    Since

    4.3.1

  • WillStopPictureInPicture: "willStopPictureInPicture"

    Picture in Picture is about to stop.

    willStopPictureInPicture

    Ios

    Param

    Since

    4.3.1

  • DidStartPictureInPicture: "didStartPictureInPicture"

    Picture in Picture has started.

    didStartPictureInPicture

    Ios

    Param

    Since

    4.3.1

  • DidStopPictureInPicture: "didStopPictureInPicture"

    Picture in Picture has stopped.

    didStopPictureInPicture

    Ios

    Param

    Since

    4.3.1

  • FullScreenModeChanged: "fullScreenModeChanged"

    Setting this event makes the fullscreen button appear. The event to be notified when the fullscreen button is clicked, or null to remove the current listener and hide the fullscreen button. This is not the fullscreen implementation, so the fullscreen feature needs to implemented.

    onFullScreenModeChanged

    Param

    Param

    true if the video rendering surface should be fullscreen false otherwise.

    Android

    Since

    4.3.1

  • ControllerVisibilityChange: "controllerVisibilityChange"

    The event to be notified about controller visibility changes.

    Method

    onControllerVisibilityChange

    Param

    Param

    true if the controller visible, otherwise false

    Android

    Since

    4.3.1

  • Touch: "touch"
  • TouchCancelled: "touchCancelled"
  • TouchEnded: "touchEnded"
  • TouchMoved: "touchMoved"

Generated using TypeDoc