mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 22:34:26 +02:00
Issue 12771: Fix interrupted video playback
This commit is contained in:
parent
5e00120465
commit
3c3c69dfd8
11 changed files with 201 additions and 213 deletions
|
@ -45,9 +45,8 @@ class Display extends DisplayModule
|
|||
$parentUriId = $item['parent-uri-id'];
|
||||
|
||||
if (empty($force)) {
|
||||
$browserUpdate = intval($this->pConfig->get($profileUid, 'system', 'update_interval') ?? 40000);
|
||||
if ($browserUpdate >= 1000) {
|
||||
$updateDate = date(DateTimeFormat::MYSQL, time() - ($browserUpdate * 2 / 1000));
|
||||
if ($this->pConfig->get($profileUid, 'system', 'update_content')) {
|
||||
$updateDate = date(DateTimeFormat::MYSQL, time() - 120);
|
||||
if (!Post::exists([
|
||||
"`parent-uri-id` = ? AND `uid` IN (?, ?) AND `received` > ?",
|
||||
$parentUriId, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue