Do not autoplay sound for gifv attachments
This commit is contained in:
parent
2deba1b648
commit
7ea11bfeb4
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@
|
||||||
"video" [:video {:controls true}
|
"video" [:video {:controls true}
|
||||||
[:source {:type (str "video/" ext) :src remote-url}]
|
[:source {:type (str "video/" ext) :src remote-url}]
|
||||||
[:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]]
|
[:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]]
|
||||||
"gifv" [:video {:controls true :loop true :autoplay true}
|
"gifv" [:video {:loop true :autoplay true :muted true}
|
||||||
[:source {:type (str "video/" ext) :src remote-url}]
|
[:source {:type (str "video/" ext) :src remote-url}]
|
||||||
[:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]]
|
[:a {:href (:remote_url attachment)} (str "Original video at " (:remote_url attachment))]]
|
||||||
[:div [:strong "Unsupported attachment"]
|
[:div [:strong "Unsupported attachment"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue