WebChromeClient.DefaultVideoPoster Property

Definition

When not playing, video elements are represented by a 'poster' image.

public virtual Android.Graphics.Bitmap? DefaultVideoPoster { [Android.Runtime.Register("getDefaultVideoPoster", "()Landroid/graphics/Bitmap;", "GetGetDefaultVideoPosterHandler")] get; }
[<get: Android.Runtime.Register("getDefaultVideoPoster", "()Landroid/graphics/Bitmap;", "GetGetDefaultVideoPosterHandler")>]
member this.DefaultVideoPoster : Android.Graphics.Bitmap

Property Value

Bitmap The image to use as a default poster, or null if no such image is available.

Attributes

Remarks

When not playing, video elements are represented by a 'poster' image. The image to use can be specified by the poster attribute of the video tag in HTML. If the attribute is absent, then a default poster will be used. This method allows the ChromeClient to provide that default image.

Java documentation for android.webkit.WebChromeClient.getDefaultVideoPoster().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to