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?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
To webcam or not to webcam & what?!
-
- Posts: 166
- Joined: Sun 29 Dec 2013 8:37 am
- Weather Station: WMR88
- Operating System: Windows 7
- Location: Weston-super-Mare
- Contact:
-
- Posts: 154
- Joined: Thu 11 Mar 2010 11:03 am
- Weather Station: WH1081
- Operating System: Linux, Raspberry Pi (Wheezy)
- Location: Port Huon, Tasmania , Australia
- Contact:
Re: To webcam or not to webcam & what?!
Without using javascript, you can use the method described here to have different content for IE and non IE users.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?
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
-
- Posts: 166
- Joined: Sun 29 Dec 2013 8:37 am
- Weather Station: WMR88
- Operating System: Windows 7
- Location: Weston-super-Mare
- Contact:
Re: To webcam or not to webcam & what?!
I've used this codetumutbound wrote:Without using javascript, you can use the method described here to have different content for IE and non IE users.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?
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
Code: Select all
<!--[if IE]>
Place content here to target all Internet Explorer users.
<![endif]-->
I think you're right...my message should read "get a proper browser!"
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: To webcam or not to webcam & what?!
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.
-
- Posts: 166
- Joined: Sun 29 Dec 2013 8:37 am
- Weather Station: WMR88
- Operating System: Windows 7
- Location: Weston-super-Mare
- Contact:
Re: To webcam or not to webcam & what?!
Which is all very well, but it's not supported by the camera...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.
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.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: To webcam or not to webcam & what?!
I know anyway the latest IE versions do support mp4 I convert my images every night to mp4 for the timelapses.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.
http://editspace.sytes.net/movie