I’ve been doing some WebRTC video-conf stuff this week. I’m now trying to do a minimalist elm interface for the working JS prototype but I’m struggling with some things and was hopping some of you would know how to proceed, maybe @Dan_Abrams?
I’m just starting the UI part in elm. For that I’m putting some videos with autoplay but I’m struggling to have them actually autoplay. I’m aware of the capture / user interaction / muted / playsinline requirements but I’m actually struggling to set a
muted attribute. Whether I’m using
attribute "muted" "" or
attribute "muted" "muted" I’m always getting the warning
Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted.
Html.video [ HA.autoplay True , HA.loop True , HA.attribute "muted" "" , HA.attribute "playsinline" "playsinline" ] [ Html.source [ HA.src "video.mp4", HA.type_ "video/mp4" ]  ]
Do you know a solution for this, are there more pitfalls I’m going to encounter while trying to build the UI with elm? (I don’t mind doing most stuff with ports, I’d just like to have it working).