Skip to content

Commit

Permalink
Merge pull request #4431 from unisonweb/support-controls-in-video
Browse files Browse the repository at this point in the history
Add support for the `controls` attribute in Video
  • Loading branch information
pchiusano authored Nov 27, 2023
2 parents 79eeee7 + 1afc588 commit 16d88b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unison-share-api/src/Unison/Server/Doc/AsHtml.hs
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ toHtml docNamesByRef document =
go ("poster", p) = [LB.makeAttribute "poster" p]
go ("autoplay", "true") = [LB.makeAttribute "autoplay" "autoplay"]
go ("loop", "true") = [loop_ "loop"]
go ("controls", "true") = [loop_ "controls"]
go ("muted", "true") = [LB.makeAttribute "muted" "muted"]
go _ = []
in pure $ video_ attrs' $ mapM_ source sources
Expand Down

0 comments on commit 16d88b2

Please sign in to comment.