video function

DomNode 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. @deprecated Map<String, dynamic> props = const {},
  15. Iterable<DomNode> c = const [],
  16. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode 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 {},
        @deprecated Map<String, dynamic> props: const {},
        Iterable<DomNode> c: const [],
        @deprecated Iterable<DomNode> children: const []}) =>
    h(
        'video',
        _apply([
          p,
          props
        ], {
          'autoplay': autoplay,
          'controls': controls,
          'height': height,
          'loop': loop,
          'muted': muted,
          'poster': poster,
          'preload': preload,
          'src': src,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));