Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Html/Attributes.elm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Html.Attributes exposing
, ismap, usemap, shape, coords
, src, height, width, alt
, autoplay, controls, loop, preload, poster, default, kind, srclang
, sandbox, srcdoc
, sandbox, srcdoc, muted
, reversed, start
, align, colspan, rowspan, headers, scope
, accesskey, contenteditable, contextmenu, dir, draggable, dropzone
Expand Down Expand Up @@ -358,6 +358,12 @@ loop : Bool -> Attribute msg
loop =
boolProperty "loop"

{-| Indicates whether the browser should play the video muted. Required for `sutoplay`
in some modern web browsers
-}
muted : Bool -> Attribute msg
muted =
boolProperty "muted"

{-| Control how much of an `audio` or `video` resource should be preloaded. -}
preload : String -> Attribute msg
Expand Down