Skip to content
Permalink
Browse files

Media browser update

* Instant playback when media player exists on page.
  • Loading branch information...
sergejey committed Apr 2, 2019
1 parent 93fb82e commit 5d980df75e5f581497a2fa9d5ba0aaff9fa302c9
@@ -1113,7 +1113,6 @@ function processTitle($title, $object = 0)
if (preg_match('/\[#.+?#\]/is', $title))
{
startMeasure('processTitleJTemplate');
if ($object)
{
$jTempl = new jTemplate($title, $object->data, $object);
@@ -1124,13 +1123,17 @@ function processTitle($title, $object = 0)
}
$title = $jTempl->result;
endMeasure('processTitleJTemplate');
return $title;
}
$title = preg_replace('/%rand%/is', rand(), $title);
$title=preg_replace('/%([\w\d\.]+?)\.([\w\d\.]+?)\|(\d+)%/uis', '%\1.\2%', $title);
if (preg_match_all('/%([\w\d\.]+?)\.([\w\d\.]+?)%/uis', $title, $m))
{
Oops, something went wrong.

0 comments on commit 5d980df

Please sign in to comment.
You can’t perform that action at this time.