VideoView

Displays a video file. The VideoView class can load videos from HTTP URLs, takes care of computing its measurement from the video so that it can be used in any layout.

When the user touches the VideoView, a default player control overlay view is displayed on top of the current user interface.

Examples

A VideoView playing Big Buck Bunny
<VideoView width="fill_parent" height="120dp" autoPlay="true"
    videoUrl="http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360.m4v" />

Attributes

Name Type Default Binding Description

Inherits all attributes from View and adds the following:

autoPlay

boolean

false

input/output

Determines whether the video plays when the VideoView becomes visible.

videoUrl

URL

URL of the video to play.


Parts of this documentation are a derivate of the Android Developer Documentation by Google used under CC-BY-2.5.

results matching ""

    No results matching ""