diff options
| author | 2012-01-11 15:57:21 -0800 | |
|---|---|---|
| committer | 2012-01-12 10:47:10 -0800 | |
| commit | 50ba5a26e6d48928b94e44fc67f057d29f40b261 (patch) | |
| tree | 736b75d9fb73a827ced6bc7d1b5090911643c97f | |
| parent | d9bb7a8df856d477701158c2cc5c40b86a2c70f5 (diff) | |
Document update for WebView user to support HTML5 video
Change-Id: I299d2f2b3ec8dbf640e613b28635972e0a707903
| -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 168baad7c9fb..f62e41d66d97 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 |