|
@@ -22,6 +22,18 @@
|
|
|
<span id="<: $post.id :>-time" style="float:right;"><: $post.created :></span>
|
|
<span id="<: $post.id :>-time" style="float:right;"><: $post.created :></span>
|
|
|
<a class='usericon <: $post.user :>' title='Posted by <: $post.user :>'></a>
|
|
<a class='usericon <: $post.user :>' title='Posted by <: $post.user :>'></a>
|
|
|
</h3>
|
|
</h3>
|
|
|
|
|
+ : if ( $post.video_href ) {
|
|
|
|
|
+ <video class="responsive" controls>
|
|
|
|
|
+ <source src="<: $post.video_href :>" type="<: $post.video_content_type :>" />
|
|
|
|
|
+ Your browser does not support the video tag.
|
|
|
|
|
+ </video>
|
|
|
|
|
+ : }
|
|
|
|
|
+ : if ( $post.audio_href ) {
|
|
|
|
|
+ <audio controls>
|
|
|
|
|
+ <source src="<: $post.audio_href :>" type="<: $post.audio_content_type :>" />
|
|
|
|
|
+ Your browser does not support the audio tag.
|
|
|
|
|
+ </audio>
|
|
|
|
|
+ : }
|
|
|
: if ( $post.is_video ) {
|
|
: if ( $post.is_video ) {
|
|
|
<video class="responsive" controls poster="<: $post.preview :>" >
|
|
<video class="responsive" controls poster="<: $post.preview :>" >
|
|
|
<source src="<: $post.href :>" type="<: $post.content_type :>" />
|
|
<source src="<: $post.href :>" type="<: $post.content_type :>" />
|