This question already has an answer here:
I own a raspberry pi model B+. A webpage is hosted on raspberry pi and i want to display a real time video stream from a webcam.The stream should be embedded on the web page (shown below)
The webcam is attached to raspberry pi via USB. Is it possible to acquire the video stream from raspberry pi using php coding and display it as a video object on HTML web page ? If yes how ? Thanks!