video function
Node
video(
{ - bool? autoplay,
- bool? controls,
- num? height,
- bool? loop,
- bool? muted,
- String? poster,
- String? preload,
- String? src,
- num? width,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- 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]);