mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
autoplay videos only if set so
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user