Disable Media Keys? for Off Site Streaming
Design and Skin Customization
thanks brian keep me posted...but is there anyway to disable and or change the part in media.php in the JrCore to disable the media_key area? so it wont have to use a media_key? below i know its in this section..
/**
* Add a session based media key
* @param $page string HTML contents of page
* @return bool
*/
function jrCore_media_set_play_key($page)
{
if (strpos($page,'1')) {
$key = mt_rand();
if (!isset($_SESSION['JRCORE_PLAY_KEYS'])) {
$_SESSION['JRCORE_PLAY_KEYS'] = array();
}
$_SESSION['JRCORE_PLAY_KEYS'][$key] = time();
// Keep play keys cleaned up
if (count($_SESSION['JRCORE_PLAY_KEYS']) > 0) {
arsort($_SESSION['JRCORE_PLAY_KEYS'],SORT_NUMERIC);
$_SESSION['JRCORE_PLAY_KEYS'] = array_slice($_SESSION['JRCORE_PLAY_KEYS'],0,0,false);
}
$page = str_replace('1',$key,$page);
}
return $page;
}
updated by @cmpnetwork: 12/18/13 09:06:02AM