Fix gallery video
This commit is contained in:
parent
341e6e1d55
commit
a88c323fb3
|
@ -35,9 +35,15 @@ mixin commentbox(comment)
|
||||||
|
|
||||||
mixin media(m)
|
mixin media(m)
|
||||||
div(class='Gallery-Content--mediaContainer')
|
div(class='Gallery-Content--mediaContainer')
|
||||||
div(class='Gallery-Content--media')
|
if m.type === 'video'
|
||||||
div(class='imageContainer')
|
.PostVideo
|
||||||
img(src=util.proxyURL(m.url))
|
.PostVideo-video-wrapper
|
||||||
|
video(controls)
|
||||||
|
source(type=m.mime_type src=util.proxyURL(m.url))
|
||||||
|
else
|
||||||
|
div(class='Gallery-Content--media')
|
||||||
|
div(class='imageContainer')
|
||||||
|
img(src=util.proxyURL(m.url))
|
||||||
|
|
||||||
html
|
html
|
||||||
head
|
head
|
||||||
|
|
Loading…
Reference in New Issue