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"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="354"
|
||||
android:versionName="1.127" >
|
||||
android:versionCode="355"
|
||||
android:versionName="1.128" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="15"
|
||||
|
@ -458,6 +458,12 @@ public class ArticleFragment extends Fragment {
|
||||
|
||||
m_chromeClient = new FSVideoChromeClient(getView());
|
||||
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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user