0

Send UDP from HTML site on the BrightSign Player

 ok, i have read all articles which could relate to this or be similar but no clear answer is ever given.

I have a presentation with various zones, one of the zones is a video zone, i have another zone which is an html5 page with various buttons like volume up, volume down and pause, i have set on the project the corresponding UDP commands to control this variables, when i used the UDP from the custom webpage on port 8008 everything works fine.

The problem arises when i try to use udp from the html site on my zone, it does not do anything.

the html site has everything the custom device webpage does but nothing happens.

how can i achieve this?

3 comments

  • 1
    Avatar
    Lyndon

     

    can you post the html code you're using?  This should be all you need to send udp strings to a brightauthor project from an html zone. 

     

    <!DOCTYPE HTML>
    <html>
    <head>
    <script src="js/jquery-1.10.2.min.js"></script>

    <script>

    myfunction();

    function myfunction() {
    //var url = "http://10.1.1.254:8008/SetValues";
    $.post("http://localhost:8080/SendUDP", {key: "button:0"});
    $.post("http://localhost:8080/SendUDP", {key: "test:zero"});
    }
    </script>

    </head>
    <body>
    <div></div>
    </body>

    </html>

  • 0
    Avatar
    Laurent de Goede

    I'm have been trying exactly this whole day long, but everything I try nothing is being received that's send from html...

    Can you help me with this? I've hit a dead end on this.

    I'm trying to set variables form html/js. I also tried the plugin message route using the htmlZoneMessage plugin from you're github but that also didn't work for me. Are there other ways that are a bit more reliable/documented?

  • 0
    Avatar
    Luke Lee

    Any luck with this Laurent? I'm looking to do the same.

Please sign in to leave a comment.