Skip to content

Setup Progress Slider

changsanjiang edited this page Nov 4, 2019 · 2 revisions
@implementation SJAppDelegate
...

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

...

    SJVideoPlayer.update(^(SJVideoPlayerSettings * _Nonnull common) {
        common.progress_thumbSize = 8;
        common.progress_traceColor = [UIColor whiteColor];
        common.progress_trackColor = [UIColor colorWithWhite:0.8 alpha:1];
        common.progress_...;
        common.progress_...;
        common.progress_...;
    });
   
    return YES;
}
@end