diff options
| author | 2012-01-17 09:06:02 -0800 | |
|---|---|---|
| committer | 2012-01-17 09:06:02 -0800 | |
| commit | 01cc1d1e8c917ef2e63f0bd3ac38232d41820ad0 (patch) | |
| tree | 61739ee66e6cf9b8fefa081d03a5a60d9bda3c68 | |
| parent | c83a666fe6f808f99a88a34f3fe00ee16ed48fd9 (diff) | |
| parent | 50ba5a26e6d48928b94e44fc67f057d29f40b261 (diff) | |
Merge "Document update for WebView user to support HTML5 video"
| -rw-r--r-- | core/java/android/webkit/WebView.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index e46c88e72f1f..770f8ac7ba3e 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -327,6 +327,15 @@ import static javax.microedition.khronos.egl.EGL10.EGL_DEFAULT_DISPLAY; * property to {@code device-dpi}. This stops Android from performing scaling in your web page and * allows you to make the necessary adjustments for each density via CSS and JavaScript.</p> * + * <h3>HTML5 Video support</h3> + * + * <p>In order to support inline HTML5 video in your application, you need to have hardware + * acceleration turned on, and set a {@link android.webkit.WebChromeClient}. For full screen support, + * implementations of {@link WebChromeClient#onShowCustomView(View, WebChromeClient.CustomViewCallback)} + * and {@link WebChromeClient#onHideCustomView()} are required, + * {@link WebChromeClient#getVideoLoadingProgressView()} is optional. + * </p> + * * */ @Widget |