Issue 12771: Fix interrupted video playback

This commit is contained in:
Michael 2025-02-09 20:20:36 +00:00
parent 5e00120465
commit 3c3c69dfd8
11 changed files with 201 additions and 213 deletions

View file

@ -196,17 +196,6 @@ class Page implements ArrayAccess
IManagePersonalConfigValues $pConfig,
int $localUID
) {
$interval = ($localUID ? $pConfig->get($localUID, 'system', 'update_interval') : 40000);
// If the update is 'deactivated' set it to the highest integer number (~24 days)
if ($interval < 0) {
$interval = 2147483647;
}
if ($interval < 10000) {
$interval = 40000;
}
// Default title: current module called
if (empty($this->page['title']) && $args->getModuleName()) {
$this->page['title'] = ucfirst($args->getModuleName());
@ -274,7 +263,7 @@ class Page implements ArrayAccess
'$local_user' => $localUID,
'$generator' => 'Friendica' . ' ' . App::VERSION,
'$update_interval' => $interval,
'$update_content' => (int)$pConfig->get($localUID, 'system', 'update_content'),
'$shortcut_icon' => $shortcut_icon,
'$touch_icon' => $touch_icon,
'$block_public' => intval($config->get('system', 'block_public')),