Search code examples
delphivideofiremonkey

How to play external video file using Firemonkey?


How to play an external file ie. http://mycompany.com/myfile.mp4 on Delphi Seattle firemonkey for both IOS and Android?

As far as i can see TMediaPlayer is for local files only. proper way to have smouth video playback?

thank you.


Solution

  • The best way to play external file is to use DASH or HLS. Also if you want to fully integrate the playing inside Firemonkey, ie not put a player windows on the top of your firemonkey windows, but play the video INSIDE your firemonkey windows then take a look at https://github.com/Zeus64/alcinoe (support also DASH and HLS)