]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/video_top.tpl
Merge pull request #1 from friendica/develop
[friendica.git] / view / templates / video_top.tpl
index 8348d702cd37f45c2b757f68328151a2b2a15bfd..132b89807d540c2fb4ef99a2809e32df01c6cb49 100644 (file)
@@ -1,19 +1,13 @@
-
 <div class="video-top-wrapper lframe" id="video-top-wrapper-{{$video.id}}">
-       {{* v4.0.0 of VideoJS requires that there be a "data-setup" tag in the
-           <video> element for it to process the tag *}}
        {{* set preloading to none to lessen the load on the server *}}
-       <video id="video-{{$video.id}}" class="video-js vjs-default-skin"
-         controls preload="none" data-setup="" width="400" height="264">
-        <source src="{{$video.src}}" type="{{$video.mime}}" />
+       <video controls preload="none" data-setup="" width="100%" height="auto">
+               <source src="{{$video.src}}" type="{{$video.mime}}" />
        </video>
 
-       {{*<div class="video-top-album-name"><a href="{{$video.album.link}}" class="video-top-album-link" title="{{$video.album.alt}}" >{{$video.album.name}}</a></div>*}}
-       {{if $delete_url }}
-               <form method="post" action="{{$delete_url}}">
+{{if $delete_url }}
+       <form method="post" action="{{$delete_url}}">
                <input type="submit" name="delete" value="X" class="video-delete"></input>
                <input type="hidden" name="id" value="{{$video.id}}"></input>
-               </form>
-       {{/if}}
+       </form>
+{{/if}}
 </div>
-