enable audio for videos #2499

This commit is contained in:
r888888888
2015-08-26 13:54:14 -07:00
parent 36da788503
commit ef59ae8886
4 changed files with 19 additions and 4 deletions

View File

@@ -68,6 +68,7 @@ class PostPresenter < Presenter
def self.data_attributes(post)
%{
data-id="#{post.id}"
data-has-audio="#{post.has_tag?('audio')}"
data-tags="#{h(post.tag_string)}"
data-pools="#{post.pool_string}"
data-uploader="#{h(post.uploader_name)}"