From e641a034336bf7ba9703aa8c463c20089648ee67 Mon Sep 17 00:00:00 2001 From: changsanjiang Date: Fri, 12 Mar 2021 17:57:46 +0800 Subject: [PATCH] Update SJDYTableViewCell.m --- Example/SJVideoPlayer/Demos/DY/List/SJDYTableViewCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/SJVideoPlayer/Demos/DY/List/SJDYTableViewCell.m b/Example/SJVideoPlayer/Demos/DY/List/SJDYTableViewCell.m index d09410015..1c499fd84 100644 --- a/Example/SJVideoPlayer/Demos/DY/List/SJDYTableViewCell.m +++ b/Example/SJVideoPlayer/Demos/DY/List/SJDYTableViewCell.m @@ -101,7 +101,7 @@ - (instancetype)init { self.autoplayWhenSetNewAsset = NO; self.autoManageViewToFitOnScreenOrRotation = NO; self.rotationManager.disabledAutorotation = YES; - self.pauseWhenAppDidEnterBackground = NO; + self.pauseWhenAppDidEnterBackground = YES; self.resumePlaybackWhenScrollAppeared = NO; self.resumePlaybackWhenAppDidEnterForeground = NO; }