Button in smart client that triggers an http command who plays a sound clip on my axis network speaker

I want to create an event button in the smart client. The button has to execute a http sound clip (example http://192.168.10.10/axis-cgi/playclip.cgi?location=task.mp3&repeat=0&volume=50 ).

Does anyone have an idea how to do this ?

This DriverCommandData class might be interesting for you.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_driver_command_data.html&tree=tree_search.html?search=drivercommanddata

Regarding the button in Smart Client, there are two options.

Firstly, we would recommend to use overlay button. There is a sample called Active Elements Overlay, please see this link -

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/activeelementsoverlay/readme.html&tree=tree_search.html?search=activeelementsoverlay

Second, we would recommend to use toolbar button as well. There is also a sample called Smart Client Toolbar Plug-in, please see the link below.

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/sctoolbarplugin/readme.html&tree=tree_1.html