allow <video> elements to autoplay
This commit is contained in:
parent
ae3b87ff91
commit
d7677ec893
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="354"
|
android:versionCode="355"
|
||||||
android:versionName="1.127" >
|
android:versionName="1.128" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="15"
|
android:minSdkVersion="15"
|
||||||
|
@ -458,6 +458,12 @@ public class ArticleFragment extends Fragment {
|
|||||||
|
|
||||||
m_chromeClient = new FSVideoChromeClient(getView());
|
m_chromeClient = new FSVideoChromeClient(getView());
|
||||||
m_web.setWebChromeClient(m_chromeClient);
|
m_web.setWebChromeClient(m_chromeClient);
|
||||||
|
|
||||||
|
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
|
ws.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
ws.setMediaPlaybackRequiresUserGesture(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_prefs.getBoolean("justify_article_text", true)) {
|
if (m_prefs.getBoolean("justify_article_text", true)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user