In Xibo I’m using a web page widget in a layout connecting to a custom webpage. Do I have a way to trigger the player to pass to the next layout in the campaign from my webpage? Should I communicate with Xibo player or via XRM to the player itself?
I tried doing a POST call to /duration/expire, the player correctly returns 200 (with no payload and independently if I set an id or not in the payload) but the layout does not change. I also get no error in the information panel of the player.
In my current setup I have a campaign with two test layouts, each of them scheduled to last for 30 seconds.
thank you very much for looking into this. Maybe I should explain a bit better what I’m trying to do.
I need to create a layout with a webpage URL to a custom developed webserver. The webserver will serve some content according to certain configurations, and the display duration will depend on such content. Therefore, the javascript part of the served webpage shall be able to send to the television (or to Xibo) a notification that the layout is completed.
I managed to create something hybrid by using the HTML component in the layout. There, the command expireNow from javascript works correctly. However, the only way I have to integrate my webpage, in this case, is via an iframe and the webview prevents subscription of events through the iframe, so the webpage cannot notify the layout to change.
Maybe there is another way to do this and I’m not doing it correctly?