mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #51] [MERGED] [mastodon] Add Support for Videos #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/51
Author: @ricoberger
Created: 10/24/2023
Status: ✅ Merged
Merged: 10/27/2023
Merged by: @ricoberger
Base:
main← Head:mastodon-add-support-for-videos📝 Commits (1)
8863b54[mastodon] Add Support for Videos📊 Changes
14 files changed (+381 additions, -27 deletions)
View changed files
📝
app/ios/Podfile.lock(+31 -1)📝
app/lib/main.dart(+16 -5)📝
app/lib/widgets/item/details/item_details_mastodon.dart(+13 -1)➕
app/lib/widgets/item/details/utils/item_videos.dart(+93 -0)📝
app/lib/widgets/item/preview/item_preview_mastodon.dart(+3 -1)📝
app/linux/flutter/generated_plugin_registrant.cc(+4 -0)📝
app/linux/flutter/generated_plugins.cmake(+1 -0)📝
app/macos/Flutter/GeneratedPluginRegistrant.swift(+8 -0)📝
app/macos/Podfile.lock(+25 -1)📝
app/pubspec.lock(+129 -8)📝
app/pubspec.yaml(+10 -1)📝
app/windows/flutter/generated_plugin_registrant.cc(+9 -3)📝
app/windows/flutter/generated_plugins.cmake(+3 -1)📝
supabase/functions/_shared/feed/mastodon.ts(+36 -5)📄 Description
It is now possible to play videos from toots within FeedDeck. For that we are using the "madia_kit" package, which is already used for the Podcast player on Windows and Linux.
The videos from a toot are saved within the "options.videos" field of an item next to the "options.media" field. In the "ItemDetailsMastodon" widget we are then checking if this field is present and contains a list of video urls. These urls can then be played via the "ItemVideos" widget.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.