]> git.mxchange.org Git - friendica.git/commitdiff
Remove references to video.js
authorHypolite Petovan <mrpetovan@gmail.com>
Tue, 23 Jan 2018 01:45:42 +0000 (20:45 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Tue, 23 Jan 2018 01:45:42 +0000 (20:45 -0500)
12 files changed:
view/templates/video_top.tpl
view/templates/videos_head.tpl
view/theme/duepuntozero/style.css
view/theme/frost-mobile/templates/videos_end.tpl [deleted file]
view/theme/frost-mobile/templates/videos_head.tpl [deleted file]
view/theme/frost/templates/videos_end.tpl [deleted file]
view/theme/frost/templates/videos_head.tpl [deleted file]
view/theme/quattro/dark/style.css
view/theme/quattro/green/style.css
view/theme/quattro/lilac/style.css
view/theme/quattro/quattro.less
view/theme/vier/style.css

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>
-
index bdb0ff9e7073e0a490834f39a5ac74892fcf5f14..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,6 +0,0 @@
-<link href="library/video-js/video-js.css" rel="stylesheet">
-<script src="library/video-js/video.js"></script>
-<script>
-   videojs.options.flash.swf = "{{$baseurl}}/library/video-js/video-js.swf"
-</script>
-
index 75ada9b0b2caeba72ecdab79c4b59b458804203c..728a55b9ca52650c9ed475d6e8bf690838642631 100644 (file)
@@ -3553,10 +3553,6 @@ div.jGrowl div.info {
   margin: 0px 10px 10px 0px;
   position: relative;
 }
-.videos .video-top-wrapper .video-js {
-  width: 300px!important;
-  height: 232px!important;
-}
 .videos .video-top-wrapper .video-delete {
   position: absolute;
   opacity: 0;
diff --git a/view/theme/frost-mobile/templates/videos_end.tpl b/view/theme/frost-mobile/templates/videos_end.tpl
deleted file mode 100644 (file)
index 858cbc5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<script src="library/video-js/video.js"></script>
-<script>
-   videojs.options.flash.swf = "{{$baseurl}}/library/video-js/video-js.swf"
-</script>
-
diff --git a/view/theme/frost-mobile/templates/videos_head.tpl b/view/theme/frost-mobile/templates/videos_head.tpl
deleted file mode 100644 (file)
index 41e4424..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<link href="library/video-js/video-js.css" rel="stylesheet">
-
diff --git a/view/theme/frost/templates/videos_end.tpl b/view/theme/frost/templates/videos_end.tpl
deleted file mode 100644 (file)
index 858cbc5..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<script src="library/video-js/video.js"></script>
-<script>
-   videojs.options.flash.swf = "{{$baseurl}}/library/video-js/video-js.swf"
-</script>
-
diff --git a/view/theme/frost/templates/videos_head.tpl b/view/theme/frost/templates/videos_head.tpl
deleted file mode 100644 (file)
index 41e4424..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<link href="library/video-js/video-js.css" rel="stylesheet">
-
index 36a0a6aee7f0830602bcb203c13db141d02fe9f6..a0924c9713543371fb6f2830f4cf5fcb7d19dcb9 100644 (file)
@@ -2154,10 +2154,6 @@ ul.tabs li .active {
   margin: 0 10px 10px 0;
   position: relative;
 }
-.videos .video-top-wrapper .video-js {
-  width: 200px!important;
-  height: 132px!important;
-}
 .videos .video-top-wrapper .video-delete {
   position: absolute;
   opacity: 0;
index 9776faeb0068a7f3420a524233ef22de3516d5c4..904d41fb27349ad73c3d7e090d9082ff9f0be4cf 100644 (file)
@@ -2154,10 +2154,6 @@ ul.tabs li .active {
   margin: 0 10px 10px 0;
   position: relative;
 }
-.videos .video-top-wrapper .video-js {
-  width: 200px!important;
-  height: 132px!important;
-}
 .videos .video-top-wrapper .video-delete {
   position: absolute;
   opacity: 0;
index 4760d4b43488e3f0786e5f046e7ed99d30611607..2a046a87a4df8a4f6db3f26031b84eedc09667e3 100644 (file)
@@ -2154,10 +2154,6 @@ ul.tabs li .active {
   margin: 0 10px 10px 0;
   position: relative;
 }
-.videos .video-top-wrapper .video-js {
-  width: 200px!important;
-  height: 132px!important;
-}
 .videos .video-top-wrapper .video-delete {
   position: absolute;
   opacity: 0;
index 53bb7e38a6d9d5bb97458a7f1dcf3c4b70acea5a..91c8074d9f0f12dbb3476201177eff9e7eb8daef 100644 (file)
@@ -1441,11 +1441,6 @@ ul.tabs {
                margin: 0 10px 10px 0;
                position: relative;
 
-               .video-js {
-                       width: 200px!important;
-                       height: 132px!important;
-               }
-
                .video-delete {
                        position: absolute;
                        opacity: 0;
index 48a89c0b40a95dc3b448afe7608f6864a62419ad..507b4b5709f4db7e88394f29e07ae7e31ccac58a 100644 (file)
@@ -3322,10 +3322,6 @@ img.photo-album-photo {
   margin: 0px 10px 10px 0px;
   position: relative;
 }
-.videos .video-top-wrapper .video-js {
-  width: 300px!important;
-  height: 232px!important;
-}
 .videos .video-top-wrapper .video-delete {
   position: absolute;
   opacity: 0;