views:

799

answers:

2

The camera supports motion jpeg and MPEG-4 video. I'd need to be able to play the video back in full screen mode as well as embedded on the page.

I'm guessing playback via flash is the best way to do this, but I don't really know much about it.

Does anyone know of an open source solution? Or even a commercial solution?

*Embedding the motion jpeg works for basic playback, but there's no way (that I know of) to make it full screen.

A: 

Axis comes with examples of embedding their streams in html with <object> tags. Check out the documentation that came with the camera.

blu
You can't switch the video to / from full screen when using <object> tags.
ScArcher2
+1  A: 

I tell you how I stream (from my web cam). When I was on paternity leave I wanted my family (mum, dad, gf, family etc) watch us while they were at work. I already had a web cam, so I needed to find out how to stream from source to web.

I installed Apache web server, did a default install and opened up some ports in my firewall Then I downloaded VideoLAN from www.videolan.org which has the capability to capture streams and forward them

Then I made a index.html page with the following code:

<td width="640px" height="480" class="green" align="middle">
 <OBJECT id="VIDEO" width="640" height="480" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
 <PARAM NAME="URL" VALUE="http://84.209.XX.XX:1234"&gt;
 <PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
 <PARAM NAME="AutoStart" VALUE="True">
 <PARAM name="uiMode" value="none">
 <PARAM name="PlayCount" value="9999">
 </OBJECT>
 </td>

Then I ran VideoLAN and made sure I was streaming to port 1234

This worked for everyone connecting to my machine with windows installed since I was streaming asf to windows media player (it's what set up above), wmp also supports full screen playbacks so that worked too :)

Maybe not exactly what you want, but hope this helps you a little bit:)

Makach