Fix post video
This commit is contained in:
parent
bc3f21e7e4
commit
e0787f991e
@ -4,7 +4,7 @@ struct PostVideo: HtmlProducer {
|
|||||||
let videos: [FileResource]
|
let videos: [FileResource]
|
||||||
|
|
||||||
func populate(_ result: inout String) {
|
func populate(_ result: inout String) {
|
||||||
result += "<video autoplay loop muted>"
|
result += "<video autoplay loop muted playsinline>"
|
||||||
result += "Video not supported."
|
result += "Video not supported."
|
||||||
for video in videos {
|
for video in videos {
|
||||||
result += "<source src='\(video.absoluteUrl)' type='\(video.type.htmlType!)'>"
|
result += "<source src='\(video.absoluteUrl)' type='\(video.type.htmlType!)'>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user