damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit d6c72403a3598531c019a54462e82c0c1775df9c
parent 768ab3e9e4f55b872253d55c53983c19ab4c3d8b
Author: Fishcake <me@fshck.com>
Date:   Tue, 26 Sep 2023 16:12:55 +0900

include m3u8 files for video playback

Closes: https://github.com/damus-io/damus/pull/1560
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/NoteContentView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift @@ -582,7 +582,7 @@ func classify_url(_ url: URL) -> UrlType { return .media(.image(url)) } - if str.hasSuffix(".mp4") || str.hasSuffix(".mov") { + if str.hasSuffix(".mp4") || str.hasSuffix(".mov") || str.hasSuffix(".m3u8") { return .media(.video(url)) }