Page 1 of 1

custom ressources in the web page

Posted: Sat May 20, 2023 9:35 am
by pierre12
Hello.
I am really interested by the websocket interface supplied by QLC+.
So I am trying to customize the web page and in would like to use some kind of "external"ressources, like my own icons or images, and even music files (.mp3).
When I do my tests, the browser load my main html page but tells me (in the console) that it could not load my png, jpg... or mp3 files.
Even if this files are in the same folder than the main html file.

Is what I want to do possible ?
Thanks

Re: custom ressources in the web page

Posted: Mon May 22, 2023 11:17 am
by GGGss
Welcome to the forum,

I cannot tell what is going on without knowing how you have referenced the files with respect to the root dir of your main page/website.

Re: custom ressources in the web page

Posted: Tue May 23, 2023 8:49 am
by pierre12
Thanks for your reply.

After few days of reflection, I have changed my mind and I realized,that, in my context, my question was not relevant.
What I want to do is to built my own "local web application", so the only thing that I have to do is to write my html/css/js files (what I want, where Iwant...) and use webSocket to communicate with QLC+.
That's what I've done, and it works perfectly.