In file include/functions.php, change the following which is at around line 823 (May vary from installation to installation):Next I have to get the PTZ up and running. Will post up my solution to that one as so far I've had no joy.
Code:elseif (ereg( 'Opera ([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
To:
Code:elseif (ereg( 'Opera/([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
In around line 876 (May vary from installation to installation), change:
Code:function canStreamNative()
{
return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape() || isKonqueror()) ) );
}
To:
Code:function canStreamNative()
{
return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape() || isKonqueror() || isOpera() || isSafari()) ) );
}
In around line 840 (May vary from installation to installation), find this:
Code:function isNetscape()
{
getBrowser( $browser, $version );
return( $browser == "mozilla" );
}
Add this below it or above it:
Code:function isOpera() {
getBrowser( $browser, $version );
return( $browser == "opera" );
}
function isSafari() {
getBrowser( $browser, $version );
return( $browser == "safari" );
}
Labels: Ubuntu, Zoneminder