September 21, 2023, 11:21:57 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: Simple web link to restart station?  (Read 3131 times)

Saner Media

  • Full Member
  • ***
  • Posts: 93
  • Karma: +1/-0
Simple web link to restart station?
« on: December 25, 2015, 12:32:20 PM »
Is there any code to create a simple web link to restart specific stations for people you do not want logged into the account?
This is the code for the "Emergency" campaign change:

<html>
  <head>
    <script type="text/javascript" src="https://ajax.microsoft.com/ajax/jQuery/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="http://galaxy.signage.me/Code/js/stations.js"></script>

   

    <script type="text/javascript">
     
      $(document).ready(function()
      {
$("#btn1").click(
         function()
         { 
           sendCommand("galaxy.signage.me", "Login", "Password", Station ID, "Advertisements");
});
      });

    </script>
  </head>
 
  <body>
   <button id="btn1">Name of Button</button>

   </body>
</html>

Is there a command to restart the player the same way?

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines