VideoContentElement constructor

VideoContentElement({
  1. required String name,
  2. required List<String?> src,
  3. required String? poster,
  4. required bool showControls,
  5. required bool autoplay,
  6. required bool loop,
  7. required bool muted,
  8. required double? width,
  9. required double? height,
  10. required Element node,
})

Implementation

VideoContentElement({
  required String name,
  required this.src,
  required this.poster,
  required this.showControls,
  required this.autoplay,
  required this.loop,
  required this.muted,
  required this.width,
  required this.height,
  required dom.Element node,
}) : super(name: name, style: Style(), node: node, elementId: node.id);