PlatformVideoController constructor

PlatformVideoController(
  1. Player player,
  2. VideoControllerConfiguration configuration
)

PlatformVideoController

This class provides the interface for platform specific VideoController implementations. The platform specific implementations are expected to implement the methods accordingly.

The subclasses are then used in composition with the VideoController class, based on the platform the application is running on.

Implementation

PlatformVideoController(
  this.player,
  this.configuration,
);