mirror of
https://github.com/friendica/friendica
synced 2025-04-29 00:24:24 +02:00
Basic support for HLS added
This commit is contained in:
parent
32f8b652ad
commit
072123af8f
23 changed files with 128365 additions and 13 deletions
|
@ -345,7 +345,7 @@ class Engagement
|
|||
foreach ($media as $entry) {
|
||||
if ($entry['type'] == Post\Media::IMAGE) {
|
||||
$type = $type | self::MEDIA_IMAGE;
|
||||
} elseif ($entry['type'] == Post\Media::VIDEO) {
|
||||
} elseif (in_array($entry['type'], [Post\Media::VIDEO, Post\Media::HLS])) {
|
||||
$type = $type | self::MEDIA_VIDEO;
|
||||
} elseif ($entry['type'] == Post\Media::AUDIO) {
|
||||
$type = $type | self::MEDIA_AUDIO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue