autoplay videos only if set so

This commit is contained in:
tibbi 2016-11-08 23:08:35 +01:00
parent 9b809790f9
commit 3804f3d8f4

View file

@ -409,7 +409,7 @@ public class VideoFragment extends ViewPagerFragment
setupTimeHolder(); setupTimeHolder();
setProgress(mCurrTime); setProgress(mCurrTime);
if (mIsFragmentVisible) if (mIsFragmentVisible && Config.newInstance(getContext()).getAutoplayVideos())
playVideo(); playVideo();
} }
} }