Last week, David M Williams posted a nice question on how can I embed an mp4 video into a Firemonkey app.
The resolution – using the Deployment Manager and TPath– was remarkably simple based on my suggestion:
That depends on your platform. Windows can embed and extract resources in your EXE. On other platforms that is either hard or impossible. I’d just deploy the mp4 with your app. `TPath` has some really nice methods to get you directories (Home, Documents, etc) in a platform neutral way, and to combine directories and filenames to form a full path name.
he went along and this was his solution:
Under Project/Deployment I add the MP4 file, then set the MediaPlayer filename property using TPath.
–jeroen
via: David M Williams – Google+ – Seeking some help – how can I embed an mp4 video into a….
Filed under: Delphi, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development Tagged: David M Williams, Deployment Manager, mp4
