mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-03 12:57:31 +01:00
autoplay videos only if set so
This commit is contained in:
parent
9b809790f9
commit
3804f3d8f4
@ -409,7 +409,7 @@ public class VideoFragment extends ViewPagerFragment
|
||||
setupTimeHolder();
|
||||
setProgress(mCurrTime);
|
||||
|
||||
if (mIsFragmentVisible)
|
||||
if (mIsFragmentVisible && Config.newInstance(getContext()).getAutoplayVideos())
|
||||
playVideo();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user