autoplay videos only if set so
This commit is contained in:
parent
9b809790f9
commit
3804f3d8f4
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue