video function

Node video({
  1. bool? autoplay,
  2. bool? controls,
  3. num? height,
  4. bool? loop,
  5. bool? muted,
  6. String? poster,
  7. String? preload,
  8. String? src,
  9. num? width,
  10. String? id,
  11. dynamic className,
  12. dynamic style,
  13. Map<String, dynamic> p = const {},
  14. Iterable<Node> c = const [],
})

Implementation

Node video({
  bool? autoplay,
  bool? controls,
  num? height,
  bool? loop,
  bool? muted,
  String? poster,
  String? preload,
  String? src,
  num? width,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'video',
        _apply([
          p
        ], {
          'autoplay': autoplay,
          'controls': controls,
          'height': height,
          'loop': loop,
          'muted': muted,
          'poster': poster,
          'preload': preload,
          'src': src,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);