I'm trying to create a simple web page that presents the user with two options (in the form of buttons). One option opens a URL to a live camera feed. The other option kicks off a bash script that plays a list of videos (stored locally on the web server). The kicker is that all of this needs to be done server side. For example, if I'm at my desktop and click on the button to play the list of videos, I don't want to see these videos on my screen, rather I want the TV that is hooked up to the web server to display the videos.
The idea behind this is that people would be able to hit this page and control what is being played on the TV, without physical access to the server itself, and without needing to have Linux terminal knowledge via ssh or something.
I am trying to accomplish this via shell_exc() in PHP right now (which I honestly do not know very well). Now, when I click the button and check the processes running on the server I can see that the script is successfully starting. However, I am not seeing any display.
Any ideas on how to get this working properly? Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire