mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-05-03 09:37:58 -05:00
It is now pissible to play YouTube videos on the native desktop clients. To achieve this we removed the "youtube_player_iframe" package which was used before to play YouTube video, but which only supported web, iOS and Android as target platforms. On the web we are now using our own implementation to render an iframe with for the YouTube video. On all other platforms we are now using the "youtube_explode_dart" package to fetch the video urls for a YouTube video and then we display them within our own video player (the "ItemVideoPlayer" widget which was added in #51). We also decided to switch the package for the iOS and Android implementation which already worked before, because we are now able to play YouTube videos in fullscreen and we only have to maintain an exception for the web implementation. The "ItemVideoPlayer" widget now also supports multiple qualities of an video via the "qualities" paramter, which allows a user to switch between the different video qualities which are available for a YouTube video. Last but not least the widget now uses our primary color for the seek bar.