diff --git a/client/videowatch-client-plugin.js b/client/videowatch-client-plugin.js
index 2ce450b4..d58611bc 100644
--- a/client/videowatch-client-plugin.js
+++ b/client/videowatch-client-plugin.js
@@ -106,14 +106,14 @@ function register ({ registerHook, peertubeHelpers }) {
buttonContainer.classList.add('peertube-plugin-livechat-buttons')
container.append(buttonContainer)
- displayButton(buttonContainer, 'open', labelOpen, () => openChat(), 'talking.png')
+ displayButton(buttonContainer, 'open', labelOpen, () => openChat(), 'talking.svg')
if (showOpenBlank) {
displayButton(buttonContainer, 'openblank', labelOpenBlank, () => {
closeChat()
window.open(iframeUri)
- }, 'talking-new-window.png')
+ }, 'talking-new-window.svg')
}
- displayButton(buttonContainer, 'close', labelClose, () => closeChat(), 'bye.png')
+ displayButton(buttonContainer, 'close', labelClose, () => closeChat(), 'bye.svg')
resolve()
})
diff --git a/public/images/bye.png b/public/images/bye.png
deleted file mode 100644
index 9238964e..00000000
Binary files a/public/images/bye.png and /dev/null differ
diff --git a/public/images/bye.svg b/public/images/bye.svg
index 777aebfe..d5493634 100644
--- a/public/images/bye.svg
+++ b/public/images/bye.svg
@@ -5,45 +5,19 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="320"
- height="320"
- viewBox="0 0 84.666664 84.666669"
+ width="32"
+ height="32"
+ viewBox="0 0 8.4666664 8.4666669"
version="1.1"
id="svg1428"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="bye.svg"
- inkscape:export-filename="/home/john/dev/peertube-plugin-livechat/public/images/bye.png"
inkscape:export-xdpi="9.6000004"
inkscape:export-ydpi="9.6000004">
-
-
-
-
-
-
+ id="defs1422" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ style="fill:#7d7d7d;stroke:none;stroke-width:0.284345"
+ id="rect1026"
+ width="10.641163"
+ height="1.0758151"
+ x="0.66625601"
+ y="-0.53790754"
+ transform="rotate(45)"
+ ry="0.53790754" />
+ style="fill:#7d7d7d;stroke:none;stroke-width:0.284345"
+ id="rect1026-3"
+ width="10.641163"
+ height="1.0758151"
+ x="-5.3205814"
+ y="5.4489298"
+ transform="matrix(-0.70710678,0.70710678,0.70710678,0.70710678,0,0)"
+ ry="0.53790754" />
diff --git a/public/images/talking-new-window.png b/public/images/talking-new-window.png
deleted file mode 100644
index 69a6638e..00000000
Binary files a/public/images/talking-new-window.png and /dev/null differ
diff --git a/public/images/talking-new-window.svg b/public/images/talking-new-window.svg
index dc999847..21e6d7ea 100644
--- a/public/images/talking-new-window.svg
+++ b/public/images/talking-new-window.svg
@@ -6,17 +6,15 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="320"
- height="320"
- viewBox="0 0 84.666664 84.666669"
+ width="32"
+ height="32"
+ viewBox="0 0 8.4666664 8.4666669"
version="1.1"
id="svg1428"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="talking-new-window.svg"
- inkscape:export-filename="/home/john/dev/peertube-plugin-livechat/public/images/talking-new-window.png"
inkscape:export-xdpi="9.6000004"
inkscape:export-ydpi="9.6000004">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="g1920"
+ transform="translate(-0.20777154,0.26436241)">
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/public/images/talking.png b/public/images/talking.png
deleted file mode 100644
index 9c0791e2..00000000
Binary files a/public/images/talking.png and /dev/null differ
diff --git a/public/images/talking.svg b/public/images/talking.svg
index 88032277..7b29bda6 100644
--- a/public/images/talking.svg
+++ b/public/images/talking.svg
@@ -5,56 +5,19 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="320"
- height="320"
- viewBox="0 0 84.666664 84.666669"
+ width="32"
+ height="32"
+ viewBox="0 0 8.4666664 8.4666669"
version="1.1"
id="svg1428"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
sodipodi:docname="talking.svg"
- inkscape:export-filename="/home/john/dev/peertube-plugin-livechat/public/images/talking.png"
inkscape:export-xdpi="9.6000004"
inkscape:export-ydpi="9.6000004">
-
-
-
-
-
-
-
+ id="defs1422" />
-
-
-
-
-
-
-
+ id="g1870"
+ transform="translate(0.00198959,0.07950317)">
+ id="rect1227"
+ style="fill:#f47825;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 2.8259822,0.77565819 c -0.704403,0.00434 -1.3799002,0.11608136 -1.87327066,0.32194421 -0.56545507,0.2359407 -0.59496586,1.6917644 0,1.8381306 0.33220466,0.081725 0.68850956,0.1320225 1.05264886,0.1612305 -0.023993,0.013783 -0.058911,0.03359 -0.058911,0.03359 L 1.2105769,3.9723623 c 0,0 1.1806918,-0.5396352 1.4490072,-0.8474935 0.7888928,0.0076 1.5760208,-0.07262 2.2138182,-0.1891358 0.6027301,-0.1101098 0.5753412,-1.6274413 0,-1.8381306 C 4.2638317,0.87437812 3.5303853,0.77131783 2.8259822,0.77565819 Z" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="rect1227-3"
+ style="fill:#585858;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 5.6367053,4.3474023 c 0.704403,0.00434 1.3799002,0.1160814 1.8732706,0.3219442 0.5654551,0.2359407 0.5949659,1.6917644 0,1.8381307 -0.3322046,0.081725 -0.6885095,0.1320224 -1.0526488,0.1612304 0.023993,0.013782 0.058911,0.03359 0.058911,0.03359 l 0.7358724,0.8418088 c 0,0 -1.1806917,-0.5396352 -1.4490071,-0.8474935 -0.7888928,0.0076 -1.5760208,-0.07262 -2.2138182,-0.1891357 -0.6027301,-0.1101098 -0.5753412,-1.6274413 0,-1.8381307 C 4.1988558,4.4461222 4.9323022,4.343062 5.6367053,4.3474023 Z" />