diff --git a/instance/dashboard.db b/instance/dashboard.db index 6a3fe75..3c4e49b 100644 Binary files a/instance/dashboard.db and b/instance/dashboard.db differ diff --git a/static/uploads/Ibex_450.jpg b/static/uploads/Ibex_450.jpg new file mode 100644 index 0000000..5f3b4b8 Binary files /dev/null and b/static/uploads/Ibex_450.jpg differ diff --git a/static/uploads/big_buck_bunny_720p_1mb.mp4 b/static/uploads/big_buck_bunny_720p_1mb.mp4 new file mode 100644 index 0000000..ed139d6 Binary files /dev/null and b/static/uploads/big_buck_bunny_720p_1mb.mp4 differ diff --git a/templates/group_fullscreen.html b/templates/group_fullscreen.html index 9b82c27..732def5 100644 --- a/templates/group_fullscreen.html +++ b/templates/group_fullscreen.html @@ -11,12 +11,12 @@ align-items: center; background-color: black; } - img { + img, video { max-width: 100%; max-height: 100%; display: none; } - img.active { + .active { display: block; } @@ -24,26 +24,43 @@
{% for item in content %} - Content Image + {% if item.file_name.endswith('.mp4') %} + + {% else %} + Content Image + {% endif %} {% endfor %}
\ No newline at end of file diff --git a/templates/player_fullscreen.html b/templates/player_fullscreen.html index 7aa2f0b..ea843ee 100644 --- a/templates/player_fullscreen.html +++ b/templates/player_fullscreen.html @@ -11,12 +11,12 @@ align-items: center; background-color: black; } - img { + img, video { max-width: 100%; max-height: 100%; display: none; } - img.active { + .active { display: block; } @@ -24,26 +24,43 @@
{% for item in content %} - Content Image + {% if item.file_name.endswith('.mp4') %} + + {% else %} + Content Image + {% endif %} {% endfor %}
\ No newline at end of file