Skip to content

FMX supports .MP3 files on all platforms #1

@birbilis

Description

@birbilis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions