Re: referencing plugin javascript files

foxesden <foxesden.aunt9z-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Tue, 29 Nov 2022 16:22:46 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
Cache\InstalledPlugins\Plugins\SqueezeDSP\HTML\EN\
plugins\SqueezeDSP\index.html

create another folder html below where you have index.html. Yes, it's
awful, but the html (lowercase) sub folder would be served as static
files.

<script type="text/javascript" src="sqdsp_data.js"></script>

This then should become "html/sqdsp_data.js".

So the new html folder should be on this path

Cache\InstalledPlugins\Plugins\SqueezeDSP\HTML\EN\
plugins\html\sqdsp_data.js

and I should be able to reference it via 

<script type="text/javascript" src= "html/sqdsp_data.js"></script>

I have tried this and it is not working. If you can confirm whether I
have the above correct, if so it will be something else.


------------------------------------------------------------------------
foxesden's Profile: http://forums.slimdevices.com/member.php?userid=56286
View this thread: http://forums.slimdevices.com/showthread.php?t=117138