I’ve coloured and set up the new version of the cms, ready for the summer. I’ve another idea (useful for me)… sometimes the people using the players, claims that the server has problems, but usually is a connection issue (of the player). So, I’d like to show up in the monitor if the player is connected on the internet.
I found a javascript, but I’m still in trouble… Where I must put this code? I’d like to show in a text region “Online” or “Offline”, checking each time the layout is played. It’s possible?
<script type="text/javascript">
function updateIndicator() {
// Show a different icon based on offline/online
}
// Update the online status icon based on connectivity
window.addEventListener('online', updateIndicator);
window.addEventListener('offline', updateIndicator);
updateIndicator();
</script>
You are right, and this is already set up. And it’s working really well. But when someone is watching at one player, would be nice to see if the player can reach Internet… otherwise we can recognize an outdated player only if it’s showing outdated content, since the wifi icon is hided below the Xibo Player.
So it’s not possible using a javascript showing online/offline status of the player, on a layout?