From baa24ae9f00167aca25d2b83836ab04b5bbf076e Mon Sep 17 00:00:00 2001 From: celestora Date: Sat, 28 Jan 2023 00:31:05 +0200 Subject: [PATCH] Add VK-styled player --- Web/Presenters/templates/@layout.xml | 3 + Web/Presenters/templates/_includeCSS.xml | 5 +- .../templates/components/attachment.xml | 4 +- Web/static/css/bsdn.css | 211 ++++++++++++ Web/static/css/style.css | 18 + Web/static/img/bsdn/fullscreen.gif | Bin 0 -> 333 bytes Web/static/img/bsdn/pause.gif | Bin 0 -> 248 bytes Web/static/img/bsdn/play.png | Bin 0 -> 3806 bytes Web/static/img/bsdn/speaker.gif | Bin 0 -> 240 bytes Web/static/img/bsdn/speaker_muted.gif | Bin 0 -> 88 bytes Web/static/js/player.js | 324 ++++++++++++++++++ 11 files changed, 563 insertions(+), 2 deletions(-) create mode 100644 Web/static/css/bsdn.css create mode 100644 Web/static/img/bsdn/fullscreen.gif create mode 100644 Web/static/img/bsdn/pause.gif create mode 100644 Web/static/img/bsdn/play.png create mode 100644 Web/static/img/bsdn/speaker.gif create mode 100644 Web/static/img/bsdn/speaker_muted.gif create mode 100644 Web/static/js/player.js diff --git a/Web/Presenters/templates/@layout.xml b/Web/Presenters/templates/@layout.xml index 490225b6..bb0d172e 100644 --- a/Web/Presenters/templates/@layout.xml +++ b/Web/Presenters/templates/@layout.xml @@ -294,6 +294,7 @@ {script "js/messagebox.js"} {script "js/notifications.js"} {script "js/scroll.js"} + {script "js/player.js"} {script "js/al_wall.js"} {script "js/al_api.js"} {script "js/al_mentions.js"} @@ -310,6 +311,8 @@ {/if} + +