Video

You can add the Video Player component from the Designer and then enable it through the Blocks Editor. When the application is run, the player shows videos in a rectangular frame inside the app.

When the user touches the video, a set of controls appears, much like the functionality of YouTube or similar video-playing apps on Android. Video files must be in specific formats, such as .wmv.

When running the applications, the video player displays in a frame onscreen. If the user touches it, controls appear, such as play/pause, skip ahead, or skip backward. The player can also be controlled with Start, Pause, or SeekTo blocks.

All files should be in one of the Android-supported media formats, such as .mp4 or .wmv.

App Inventor permits only ...

Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.