Videos
This commit is contained in:
@@ -7,8 +7,8 @@ article class="h-entry"
|
||||
article class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200 prose-a:text-blue-600 prose-a:no-underline hover:prose-a:underline prose-img:rounded"
|
||||
- if post.videos?
|
||||
- post.videos.each do |video|
|
||||
video loop muted controls
|
||||
source type="video/mp4" src=video["value"]
|
||||
video loop=true muted=true controls=true
|
||||
source type="video/mp4" src="#{video["value"]}"
|
||||
- if post.photos?
|
||||
- post.photos.each do |photo|
|
||||
figure
|
||||
|
Reference in New Issue
Block a user