Page 2 of 2
Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 12:41 pm
by westonweather
Just found out that IE doesn't play MJPEG, so anyone on IE won't see the moving image. I've set the "ALT" as wording to that effect so if the image on
the webcam page doesn't load you get a link to
webcam2.php which is an auto-refreshing static image.
I haven't used IE for years. Does anyone?
Is there anyway of detecting what browser someone is using with a script and either giving them a static image or an MJPEG depending on the browsers capability?
Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 1:29 pm
by tumutbound
westonweather wrote:
Is there anyway of detecting what browser someone is using with a script and either giving them a static image or an MJPEG depending on the browsers capability?
Without using javascript, you can use the method described here to have different content for IE and non IE users.
http://www.mediacollege.com/internet/ht ... ct-ie.html
Instead of having separate code to for it, perhaps you could just point IE users at a download page for Firefox

Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 3:28 pm
by westonweather
tumutbound wrote:westonweather wrote:
Is there anyway of detecting what browser someone is using with a script and either giving them a static image or an MJPEG depending on the browsers capability?
Without using javascript, you can use the method described here to have different content for IE and non IE users.
http://www.mediacollege.com/internet/ht ... ct-ie.html
Instead of having separate code to for it, perhaps you could just point IE users at a download page for Firefox

I've used this code
Code: Select all
<!--[if IE]>
Place content here to target all Internet Explorer users.
<![endif]-->
to provide a static image instead of an MJPEG, but IE 11 on Windows 8.1 just ignores it!
I think you're right...my message should read "get a proper browser!"
Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 5:29 pm
by nitrx
As said earlier the way to go for streaming video or webvideo is mp4 / h264 it's supported by all modern browsers and on most portable devices like andoid phones / tablets / wpphones an appledevices.
Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 5:41 pm
by westonweather
nitrx wrote:As said earlier the way to go for streaming video or webvideo is mp4 / h264 it's supported by all modern browsers and on most portable devices like andoid phones / tablets / wpphones an appledevices.
Which is all very well, but it's not supported by the camera...
To be honest, I'm not THAT bothered that it can't be viewed as a video in IE. There is always a still option and it DOES already work on my iPhone, iPad and I have tried it on the Samsung range of Android devices and works there also. Just IE being the odd ball.
Re: To webcam or not to webcam & what?!
Posted: Mon 10 Feb 2014 5:47 pm
by nitrx
westonweather wrote:
Which is all very well, but it's not supported by the camera...
To be honest, I'm not THAT bothered that it can't be viewed as a video in IE. There is always a still option and it DOES already work on my iPhone, iPad and I have tried it on the Samsung range of Android devices and works there also. Just IE being the odd ball.
I know anyway the latest IE versions do support mp4 I convert my images every night to mp4 for the timelapses.
http://editspace.sytes.net/movie