Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50ba5a26 authored by Teng-Hui Zhu's avatar Teng-Hui Zhu
Browse files

Document update for WebView user to support HTML5 video

Change-Id: I299d2f2b3ec8dbf640e613b28635972e0a707903
parent d9bb7a8d
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -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
 * 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>
 * 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
@Widget