Tutorial: TMediaPlayer in FireMonkey (Delphi DX 11 Alexandria) on Windows 11
DISCLAIMER: This video is boring to the average YouTube viewer.
We create an app with TMediaPlayerControl and TMediaPlayer. We use TControlAction for the play and pause calls and to update the time. Unfortunately we can only play WMV files here, so no MP4 (state of the art). There is K-Lite Codec Pack – only we didn’t want to install that on our system for the tutorial.
Tutorial: TMediaPlayer in FireMonkey (Delphi DX 11 Alexandria) auf Windows 11
Wir erstellen ein App mit TMediaPlayerControl und TMediaPlayer. Wir nutzen TControlAction für die Play und Pause aufrufe und als Update der Zeit. Leider können wir hir nur WMV-Dateien abspielen, also keine MP4 (stand der Technik). Es gibt K-Lite Codec Pack – nur wir wollten das nicht auf unserem System installieren für das Tutorial.
TMediaPlayer, TMediaPlayerControl, TActionList, TControlAction, DragOver, DragDrop, Line, TCircle, TButton, TLabel, TCheckBox, TMedia, IMediaSeeking, IVMRWindowLessControl9, FMX.Media.Win, Winapi.DirectShow9, Winapi.Windows, MediaTimeScale, AbsolutePositioning, NoPositioning, TMedia.State, VMRWindow, TWndClass, SeekToPos, RepaintVideo, MediaSeekTo, QueryInterface
#FireMonkey #Delphi
source
To see the full content, share this page by clicking one of the buttons below |