mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-11 17:47:47 -05:00
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.
33 lines
1.4 KiB
C++
33 lines
1.4 KiB
C++
//
|
|
// Generated file. Do not edit.
|
|
//
|
|
|
|
// clang-format off
|
|
|
|
#include "generated_plugin_registrant.h"
|
|
|
|
#include <app_links/app_links_plugin_c_api.h>
|
|
#include <media_kit_libs_windows_video/media_kit_libs_windows_video_plugin_c_api.h>
|
|
#include <media_kit_video/media_kit_video_plugin_c_api.h>
|
|
#include <screen_brightness_windows/screen_brightness_windows_plugin.h>
|
|
#include <screen_retriever/screen_retriever_plugin.h>
|
|
#include <url_launcher_windows/url_launcher_windows.h>
|
|
#include <window_manager/window_manager_plugin.h>
|
|
|
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
|
AppLinksPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
|
|
MediaKitLibsWindowsVideoPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("MediaKitLibsWindowsVideoPluginCApi"));
|
|
MediaKitVideoPluginCApiRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("MediaKitVideoPluginCApi"));
|
|
ScreenBrightnessWindowsPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ScreenBrightnessWindowsPlugin"));
|
|
ScreenRetrieverPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
|
|
UrlLauncherWindowsRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
|
WindowManagerPluginRegisterWithRegistrar(
|
|
registry->GetRegistrarForPlugin("WindowManagerPlugin"));
|
|
}
|