onVideoInit property

(void Function(GlobalKey<State<StatefulWidget>> videoContainerKey)?) onVideoInit
final

onVideoInit is a callback function that gets triggered when a video is initialized. You can use this to perform actions or setup configurations related to video embedding.

Example usage:

  onVideoInit: (videoContainerKey) {
    // Custom video initialization logic
  },
  // Customize other callback functions as needed

Implementation

final void Function(GlobalKey videoContainerKey)? onVideoInit;