Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodComponentDelphiDemoFiremonkey

Native Android VideoView Wrapper Component For Delphi XE5 Firemonkey

The Delphi Firemonkey Android VideoViewDPF component suite for Android just released an updated version which contains a wrapper for the Android VideoView control. VideoView plays videos and will display images using the native Android control. It is based on a SurfaceView. DPF includes a VideoView demo that shows how to use it. It is pretty simple right now with a one line Play() function in the demo which will play a remote video file from HTTP. This simple example is still pretty powerful because you don’t have to download and buffer or store the video yourself. It seemlessly plays a video off the web via a URL. The Android help page claims VideoView also does scaling and tinting for video viewing. The DPF component suite for Android has a lot of other components and is a must have framework if you’re building Delphi Firemonkey apps for Android. The whole suite is free and available on Sourceforge.

Update: Anyone else able to get the VideoView working? I tried loading MP4, PNG, and JPEG and wasn’t able to get anything.

Download the full DPF Android suite and try out the VideoView.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiWindows

Give AI Coding Assistants A Memory That Survives Every Session

DelphiDemoFiremonkeyLibraryShowcaseWindows

Run Large Language Models Natively In Object Pascal

Code SnippetDelphiDemoLibraryShowcaseWindows

Windows CLI To Download, Manage, And Chat With Local AI Models

DelphiDemoOSXWindows

Download, Run, And Chat With Local LLMs On Windows And macOS

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

1 Comment

Leave a Reply