As you know, I currently use streaming to show image on 3 TVs via 3 computers from one computer. But I don't like this solution. It causes too much load on server's CPU. Because it needs to render 1920x1080 video in real time. Due to this reason server can't render more than one video at once. And I can be asked to render individual picture for every TV at any moment. First I wanted to make some simple program, that would use TImage and PasLibVLC. Because at the end I currently need just two things: slide-show and video. But it would be inventing bicycle. And therefore I decided to use embedded Chromium instead.
Problem is - I'm not familiar with Web technologies. It's not hard to make static HTML page with slide-show and video on it. There are many HTML5/CSS guides in Internet. It's not hard to setup HTTP server. What is hard for me - is to refresh page in browser without using VNC to reload browser on all 3 computers. How can I signal to browser and force it to refresh page via existing tools, i.e. HTTP server?
My current idea is - to use some bash script to store update time stamp in my static HTTP page and some XML/JSON file near it, load this file every minute via AJAX, compare two time stamps and reload page, if they don't match. But may be there is better and easier way to do it? I just don't know, what capabilities current Web technologies have.
Or may be I shouldn't use browser itself to do it? May be it's better to load this XML/JSON via Pascal and force browser to reload page programmatically?