THEOplayerViewControllerWeb constructor
THEOplayerViewControllerWeb(
- int id,
- HTMLElement _playerWrapperDiv,
- 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);
}