August 20, 2019, 09:32:36 AM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://plus.digitalsignage.com

MediaSignage support forum



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

Saner Media

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +1/-0
    • View Profile
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