diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index 27d16ac0..99636319 100644 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="294" + android:versionName="1.85" > = Build.VERSION_CODES.KITKAT) { ws.setJavaScriptEnabled(true); - m_chromeClient = new FSVideoChromeClient(view); - m_web.setWebChromeClient(m_chromeClient); + if (enableFullscreenVideo) { + m_chromeClient = new FSVideoChromeClient(view); + m_web.setWebChromeClient(m_chromeClient); + } } } @@ -442,7 +445,7 @@ public class ArticleFragment extends Fragment { // } - if (savedInstanceState == null || !acceleratedWebview) + if (savedInstanceState == null || !acceleratedWebview || !enableFullscreenVideo) m_web.loadDataWithBaseURL(baseUrl, content, "text/html", "utf-8", null); else m_web.restoreState(savedInstanceState); diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index f5353153..3aeaf629 100644 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -259,4 +259,6 @@ Default No images Compact + May cause graphical glitches on some devices. + Fullscreen video support diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml index b9087b22..df0d64b6 100644 --- a/org.fox.ttrss/src/main/res/xml/preferences.xml +++ b/org.fox.ttrss/src/main/res/xml/preferences.xml @@ -143,6 +143,12 @@ android:key="use_volume_keys" android:summary="@string/use_volume_keys_long" android:title="@string/use_volume_keys" /> + +