From a5693d16d8f5781a0bba9c62e301d44e4b86e552 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Tue, 3 Nov 2020 21:57:43 +0700 Subject: [PATCH] Updated album.njk and player.njk --- views/album.njk | 28 ++++++++++++++++++++++++---- views/player.njk | 15 +++++++++------ 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/views/album.njk b/views/album.njk index c765c52..e3795e2 100644 --- a/views/album.njk +++ b/views/album.njk @@ -61,15 +61,35 @@

{% if not files.length -%} - Download album + + + + + Empty album + {%- elif album.downloadLink -%} {%- if usingCDN -%} - Download album + + + + + Download album + {%- else -%} - Download album + + + + + Download album + {%- endif -%} {%- else -%} - Download disabled + + + + + Download disabled + {%- endif %}

diff --git a/views/player.njk b/views/player.njk index 30f9ba0..e3ea8b5 100644 --- a/views/player.njk +++ b/views/player.njk @@ -54,7 +54,12 @@

- Download video + + + + + Download media +

@@ -63,14 +68,13 @@
- +
@@ -80,9 +84,8 @@
-

This is an experimental embedded video player using Video.js.

-

This only allows you to play video uploads that you can play directly on your browser in the first place.

-

Thus there is no additional support for other formats such as MKV.

+

This is an experimental embedded media player using Video.js.

+

This only allows you to play media uploads that you can play directly on your browser in the first place, and thus there is no additional support for other formats such as MKV.