Forum Activity for @cmpnetwork

cmpnetwork
@cmpnetwork
12/18/13 09:04:08AM
2 posts

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
cmpnetwork
@cmpnetwork
12/17/13 10:25:07PM
2 posts

Disable Media Keys? for Off Site Streaming


Design and Skin Customization

How would it be possible to remove the media_key for streaming audio, i would like it so flash players could be added to other sites and so fourth.
updated by @cmpnetwork: 01/19/14 02:19:36AM