I have created a web page to have both live video streaming and some button controls to control the robotic arm interfaced to the RPi GPIO pins. For button controls, I used php coding. The php coding is given here.
Using motion s/w, I am able to get live video streaming and following is the code I used to embed the same into a web page. I used an USB webcam for video streaming.
<img src= "http://192.168.15.22:8081/?action=stream" width="800" height="460"/>
I have used some buttons to control the robotic arm interfaced to GPIO pins, so whenever I click the buttons, the page will refresh and the video will be out for 2 seconds, and it will come back again.
I don't want the video to be out everytime I click the button?? IS there a way to avoid this issue?
<Form>
and<input "submit">
look at jquery AJAX post. – Piotr Kula Mar 25 '14 at 12:18