Android-components: Expose useWideViewPort web setting

Created on 5 Jul 2019  路  3Comments  路  Source: mozilla-mobile/android-components

FFTV needs to override the WebSetting useWideViewPort, but it is currently not exposed.

<engine-system> help wanted 馃専 feature

All 3 comments

What's the use case? Do you have a link to a Fire TV issue for tracking?

We are currently modifying useWideViewPort when toggleDesktopMode() is used. But I assume you need it for other things?

It is causing some video placement issues. Here is the related issue: https://github.com/mozilla-mobile/firefox-tv/issues/2386#issuecomment-506551642.

What's the use case? Do you have a link to a Fire TV issue for tracking?

We are currently modifying useWideViewPort when toggleDesktopMode() is used. But I assume you need it for other things?

To add to what @pocmo said, toggling desktop mode (on Gecko or WebView) will change the value of useWideViewPort so we need to consider that too when we expose this settings.

Was this page helpful?
0 / 5 - 0 ratings