Country Flag Plugin for FM-DX-Webserver
This plugin for the FMDX web server displays the country flag below the TX station data.
v1.0
- The country flag is displayed animated or statically
- Blur, motion, and transparency can be individually adjusted in the header
Installation notes:
- Download the last repository as a zip
- Unpack all files from the plugins folder to ..fm-dx-webserver-main\plugins\
- Stop or close the fm-dx-webserver
- Start/Restart the fm-dx-webserver with "npm run webserver" on node.js console, check the console informations
- Activate the country flag plugin in the settings
Configuration options
The following variables can be changed in the header of the countryflag.js:
const blurAmount = '5px'; // Blur strength (e.g. '5px', '0px' for sharp / default: '5px')
const opacity = '0.30'; // Opacity of the background (0.0 - 1.0 / default: '0.30')
const animationEnabled = true; // Enable/Disable waving animation (true/false)
const waveStrength = 3.0; // Intensity of the wave (0.5 = subtle, 3.0 = strong / default: 3.0)
Contact
If you have any questions, would like to report problems, or have suggestions for improvement, please feel free to contact me! You can reach me by email at highpoint2000@googlemail.com. I look forward to hearing from you!
