-
Notifications
You must be signed in to change notification settings - Fork 1
FMX supports .MP3 files on all platforms #1
Description
FMX TMediaPlayer does support .MP3 on all platforms (not sure about Linux, have tried all others at my https://github.com/zoomicon/iLearnTsakonika project and they play .mp3 just fine)
so no need to have separate file types that https://github.com/corneliusdavid/ChristmasTree?tab=readme-ov-file#adding-custom-sound-effects suggests
note on OS-X (and iOS too I guess) I've found you do need to always provide a file extension, whereas Windows and Android can detect the content type (speaking about MP3 that I've used) from the data stream.
I have a TMediaPlayerEx (TMediaPlayer extension) that can play from memory steams too (actually makes temp files and then deletes them) btw at https://github.com/Zoomicon/Zoomicon.Media.FMX.Delphi/blob/main/Source/Zoomicon.Media.FMX.MediaPlayerEx.pas and has some extra features that may be handy