Internet Explorer 11 detection for streaming
Posted: Sat Nov 30, 2013 6:22 am
I have really had alot of issues with the auto browser detect in zoneminder. I don't think I was able to use it since IE 10 came out. So tonight I thought I would try to fix this once and for all.
My fix may not be complete but is better than nothing. I believe it should work for IE 10 but not tested yet.
Change the 1.25 code for includes/functions.php as follows and you will get cambozola to finally load properly
791,796c791
< if ( preg_match( '/Trident\/7.0; rv:11.0/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
< {
< $version = $logVersion[1];
< $browser = 'ie';
< }
< elseif ( preg_match( '/MSIE ([0-9].[0-9]{1,2})/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
---
> if ( preg_match( '/MSIE ([0-9].[0-9]{1,2})/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
Merry Christmas.

My fix may not be complete but is better than nothing. I believe it should work for IE 10 but not tested yet.
Change the 1.25 code for includes/functions.php as follows and you will get cambozola to finally load properly
791,796c791
< if ( preg_match( '/Trident\/7.0; rv:11.0/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
< {
< $version = $logVersion[1];
< $browser = 'ie';
< }
< elseif ( preg_match( '/MSIE ([0-9].[0-9]{1,2})/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
---
> if ( preg_match( '/MSIE ([0-9].[0-9]{1,2})/', $_SERVER['HTTP_USER_AGENT'], $logVersion) )
Merry Christmas.




