THEOplayerViewControllerWeb constructor

THEOplayerViewControllerWeb(
  1. int id,
  2. HTMLElement _playerWrapperDiv,
  3. THEOplayerConfig theoPlayerConfig
)

Implementation

THEOplayerViewControllerWeb(int id, this._playerWrapperDiv, THEOplayerConfig theoPlayerConfig) : super(id) {
  _channelSuffix = id.toString();
  _theoPlayerJS = THEOplayerJS(
      _playerWrapperDiv,
      THEOplayerConfigParams(
        license: theoPlayerConfig.getLicense(),
        licenseUrl: theoPlayerConfig.getLicenseUrl(),
      ));
  _eventForwarder = PlayerEventForwarderWeb(_theoPlayerJS);
  _tracksController = THEOplayerTrackControllerWeb(_theoPlayerJS);
}