Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!


Unofficial Youtube Component To Download And Play Video In Delphi XE7 Firemonkey On Android and Windows

Delphi XE7 Firemonkey Youtube Video Player ComponentDeveloper Barış Atalay from Turkey has released a component which will parse and load a Youtube video in Delphi XE7 Firemonkey on Windows and Android. It does not use the Youtube API so it is an unofficial component. What the component seems to do is hit the Youtube URL and find the MP4 file URL. It then can download the video file in a separate thread and save it out to a file. On Windows it simply does a ShellExecute launch of the MP4 file and whatever video player you have setup will be launched. On Android it launches an Intent which should load a dialog where you can choose what video player to play the file with on Android. The component also show some other information about the video like Title and length of the video. Lastly it lets you choose the video resolution of the file prior to downloading. The component utilizes the XSuperObject JSON parsing library to pull out the information from the Youtube page. This component should work with Appmethod as well.

Head over and check out the full blog post about the unofficial Youtube component for downloading and viewing a Youtube video in Delphi XE7 Firemonkey.

Or head directly to the source code and demo code for the unofficial TYoutube component for Delphi XE7 Firemonkey.


Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply