From 3d3a7b80d34c100846c8ae130b424b63ba3c0784 Mon Sep 17 00:00:00 2001
From: Jules Laplace <julescarbon@gmail.com>
Date: Fri, 7 Jul 2017 19:18:48 +0200
Subject: socket io communication

---
 client/components/UI/AudioPlayer.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'client/components/UI/AudioPlayer.jsx')

diff --git a/client/components/UI/AudioPlayer.jsx b/client/components/UI/AudioPlayer.jsx
index de6502c..1a68518 100644
--- a/client/components/UI/AudioPlayer.jsx
+++ b/client/components/UI/AudioPlayer.jsx
@@ -4,6 +4,7 @@ const audio = document.createElement('audio')
 
 export default function AudioPlayer (props) {
   if (props.file) {
+    document.body.style.backgroundImage = 'url(' + pngpath(file) + ')'
     audio.src = mp3path(props.file)
     audio.play()
     return (
-- 
cgit v1.2.3-70-g09d2

