Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Node Red to their W1HQ station

[{"id":"d9bb6b2a.57929","type":"inject","z":"d375568c.144b28","name":"","props":[{"p":"options","v":"[{"Stop":""},{"Studio Brussel":"http://icecast.vrtcdn.be/stubru-high"},{"MNM Hits":"http://icecast.vrtcdn.be/mnm_hits-high"},{"Another station":"http://icecast.vrtcdn.be/radio1-high"}]","vt":"json"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":180,"y":200,"wires":[["4cc267bc.aef7e"]]},{"id":"4cc267bc.aef7e","type":"ui_dropdown","z":"d375568c.144b28","name":"","label":"Radio","tooltip":"Kies de gewenste radio","place":"Kies een radio","group":"165e1e1a.e752fa","order":4,"width":"0","height":"0","passthru":true,"multiple":false,"options":[],"payload":"","topic":"radio","x":320,"y":200,"wires":[["5e33f1b8.91b2d8"]]},{"id":"5e33f1b8.91b2d8","type":"change","z":"d375568c.144b28","name":"","rules":[{"t":"set","p":"template","pt":"msg","to":"'<!DOCTYPE html>	<html>	<body>		<audio autoplay>	  <source src="' & payload & '.mp3" type="audio/mpeg">	  <source src="' & payload & '.ogg" type="audio/ogg">	</audio>		</body>	</html>'","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":200,"wires":[["f34ba2f2.d18af"]]},{"id":"f34ba2f2.d18af","type":"ui_template","z":"d375568c.144b28","group":"165e1e1a.e752fa","name":"test","order":5,"width":0,"height":0,"format":"","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":670,"y":200,"wires":[[]]},{"id":"165e1e1a.e752fa","type":"ui_group","name":"Default","tab":"f9b58883.fa613","order":1,"disp":true,"width":"12","collapse":false},{"id":"f9b58883.fa613","type":"ui_tab","name":"Home","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
Comment

PREVIOUS NEXT
Code Example
Javascript :: Storing Values With Assignment Operators 
Javascript :: vscode react debug chrome profile 
Javascript :: generic product filter javascript 
Javascript :: visable in viewport 
Javascript :: nestjs cors dotnot woriking 
Javascript :: telegram web app js 
Javascript :: nodejs express mongodb boilerplate 
Javascript :: same onclick function on different elements and change another element 
Javascript :: how is react different from normal js 
Javascript :: top-level await 
Javascript :: react regions 
Javascript :: jquery auto idle logout 
Javascript :: get seo friendly url values in javascript 
Javascript :: express plus 
Javascript :: 2495016599 
Javascript :: grepper answer 
Javascript :: filter list of array if not true return default array 
Javascript :: how to swap two variable values in js 
Javascript :: js function to print words on number 
Javascript :: parent.containts js 
Javascript :: string in vue.js 
Javascript :: Render raw html in response with Express 
Javascript :: c# adding a root node to a json object 
Javascript :: npm dinosaur game 
Javascript :: unload js object 
Javascript :: how to generate debug build in react native 
Javascript :: js get current top position event listeners 
Javascript :: Merge Arrarys of Object of Any size 
Javascript :: change env location react 
Javascript :: get request send back text 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =