Add video element and related attributes (#84) Adds the `video` element and `loop`, `muted`, `playsinline`, `poster` attributes.
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M html/elements.go → html/elements.go
@@ -426,3 +426,7 @@ func Var(children ...g.Node) g.Node { return g.El("var", g.Group(children)) } + +func Video(children ...g.Node) g.Node { + return g.El("video", g.Group(children)) +}