YBLookVideoVC.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // YBLookVideoVC.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/11/6.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import "YBBaseViewController.h"
  9. #import <ZFPlayer/ZFPlayer.h>
  10. typedef NS_ENUM(NSInteger,RKPlayerLeaveState) {
  11. RKLeaveState_Unknown,
  12. RKLeaveState_Playing,
  13. RKLeaveState_Pause,
  14. };
  15. @interface YBLookVideoVC : YBBaseViewController
  16. @property (nonatomic, assign) ZFPlayerScrollViewDirection scrollViewDirection; //滚动方向(垂直、横向)
  17. @property(nonatomic,strong)NSString *fromWhere;
  18. /**
  19. * 从消息顶部的 赞、评论、@ 功能 进来不能上下滑动 sourceBaseUrl传空字符串即可
  20. */
  21. @property(nonatomic,strong)NSString *sourceBaseUrl;
  22. @property(nonatomic,assign)BOOL firstPush; //第一次从其他页面跳转
  23. @property(nonatomic,assign) NSInteger pushPlayIndex; //第一次从第几个开始播放
  24. @property(nonatomic,strong)NSMutableArray *videoList;
  25. @property (nonatomic,assign) NSInteger pages;
  26. //rk_1-30
  27. -(void)doubleClickRefreshForYou;
  28. //视频上传进度
  29. @property(nonatomic,assign)CGFloat uploadProgress;
  30. @property(nonatomic,strong)UIImage *uploadCover;
  31. /// 青少年模式切换,刷新首页
  32. -(void)youngModeRefresh;
  33. @end