mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-14 04:05:14 +00:00
Fix gallery video
This commit is contained in:
@@ -35,6 +35,12 @@ mixin commentbox(comment)
|
|||||||
|
|
||||||
mixin media(m)
|
mixin media(m)
|
||||||
div(class='Gallery-Content--mediaContainer')
|
div(class='Gallery-Content--mediaContainer')
|
||||||
|
if m.type === 'video'
|
||||||
|
.PostVideo
|
||||||
|
.PostVideo-video-wrapper
|
||||||
|
video(controls)
|
||||||
|
source(type=m.mime_type src=util.proxyURL(m.url))
|
||||||
|
else
|
||||||
div(class='Gallery-Content--media')
|
div(class='Gallery-Content--media')
|
||||||
div(class='imageContainer')
|
div(class='imageContainer')
|
||||||
img(src=util.proxyURL(m.url))
|
img(src=util.proxyURL(m.url))
|
||||||
|
|||||||
Reference in New Issue
Block a user