--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/6d6771be-49ce-4b3f-ac31-09cecad9bdc9%40chromium.org.
This seems like an implementation detail of WebView so I don't think we'd want to provide an app-side API to force a particular behavior. Note that it's impossible to support all HTML/CSS features correctly when using SurfaceView, so EME inline video using it is a compromise we're not especially happy with. On the other hand, I realize texture-based video consumes more power. We want to maintain the flexibility to keep experimenting with different approaches on this.
On Mon, Jun 22, 2015 at 9:49 AM, <webkit...@gmail.com> wrote:
Hello,As per my understanding, chrome for android and WebView uses separate SurfaceView for full-screen video and also for inline EME videos but not for non-EME inline videos, is it correct?Any way to force using SurfaceView for all the videos? I did see one preference use_view_overlay_for_all_video in code but I don't see any public WebVIew API available to do this in WebView based apps.RegardsArun
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview-dev+unsub...@chromium.org.
Other option is to use full screen Video which creates separate SurfaceView but like inline video, I am not sure if we can do styling and all properly with that, there are some use cases where apps want to display transparent webview on top of full screen video and wants it to handed all JS events etc, like normal inline mode.
ThanksArun
On Tuesday, June 23, 2015 at 12:27:28 AM UTC+5:30, Alexandre Elias wrote:
This seems like an implementation detail of WebView so I don't think we'd want to provide an app-side API to force a particular behavior. Note that it's impossible to support all HTML/CSS features correctly when using SurfaceView, so EME inline video using it is a compromise we're not especially happy with. On the other hand, I realize texture-based video consumes more power. We want to maintain the flexibility to keep experimenting with different approaches on this.
On Mon, Jun 22, 2015 at 9:49 AM, <webkit...@gmail.com> wrote:
Hello,As per my understanding, chrome for android and WebView uses separate SurfaceView for full-screen video and also for inline EME videos but not for non-EME inline videos, is it correct?Any way to force using SurfaceView for all the videos? I did see one preference use_view_overlay_for_all_video in code but I don't see any public WebVIew API available to do this in WebView based apps.RegardsArun
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/6d6771be-49ce-4b3f-ac31-09cecad9bdc9%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/83981461-dd09-43e0-ad33-8371e645bf9b%40chromium.org.
Ok, thanks for your help, we should try this out!
On Thursday, July 9, 2015 at 12:02:51 AM UTC+5:30, Alexandre Elias wrote:
On Wed, Jul 8, 2015 at 1:50 AM, <webkit...@gmail.com> wrote:Other option is to use full screen Video which creates separate SurfaceView but like inline video, I am not sure if we can do styling and all properly with that, there are some use cases where apps want to display transparent webview on top of full screen video and wants it to handed all JS events etc, like normal inline mode.I believe this option should work for you. If you promote a video to fullscreen with the HTML5 fullscreen API, you'll get both a fullscreen SurfaceView for the video (provided to you via onShowCustomView), and the WebView will draw the other web content transparently onto the default application surface on top of the video (and JS touch handlers should work as you expect).
ThanksArun
On Tuesday, June 23, 2015 at 12:27:28 AM UTC+5:30, Alexandre Elias wrote:
This seems like an implementation detail of WebView so I don't think we'd want to provide an app-side API to force a particular behavior. Note that it's impossible to support all HTML/CSS features correctly when using SurfaceView, so EME inline video using it is a compromise we're not especially happy with. On the other hand, I realize texture-based video consumes more power. We want to maintain the flexibility to keep experimenting with different approaches on this.
On Mon, Jun 22, 2015 at 9:49 AM, <webkit...@gmail.com> wrote:
Hello,As per my understanding, chrome for android and WebView uses separate SurfaceView for full-screen video and also for inline EME videos but not for non-EME inline videos, is it correct?Any way to force using SurfaceView for all the videos? I did see one preference use_view_overlay_for_all_video in code but I don't see any public WebVIew API available to do this in WebView based apps.RegardsArun
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview-dev+unsub...@chromium.org.
To post to this group, send email to android-w...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/6d6771be-49ce-4b3f-ac31-09cecad9bdc9%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview-dev+unsub...@chromium.org.
To post to this group, send email to android-w...@chromium.org.