VideoPlayerWebOptions constructor

const VideoPlayerWebOptions({
  1. VideoPlayerWebOptionsControls controls = const VideoPlayerWebOptionsControls.disabled(),
  2. bool allowContextMenu = true,
  3. bool allowRemotePlayback = true,
})

VideoPlayerWebOptions can be optionally used to set additional web settings

Implementation

const VideoPlayerWebOptions({
  this.controls = const VideoPlayerWebOptionsControls.disabled(),
  this.allowContextMenu = true,
  this.allowRemotePlayback = true,
});