initialize method

  1. @override
Future<void> initialize()
override

Attempts to open the given dataSource and load metadata about the video.

Implementation

@override
Future<void> initialize() async {
  await super.initialize();

  uri = Uri.parse(dataSource);
  eventsManager = VideoEventsManager();

  addCustomListeners();
}