YBGetVideoObj.h 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // YBGetVideoObj.h
  3. // YBVideo
  4. //
  5. // Created by YB007 on 2019/11/21.
  6. // Copyright © 2019 cat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface YBGetVideoObj : NSObject
  10. +(instancetype)lookManeger;
  11. /**
  12. * 此功能类仅用于其他页面 push 到 观看页面(YBLookVideoVC)
  13. *
  14. * 注意: 从消息顶部的 赞、评论、@ 功能 进来不能上下滑动 baseUrl传空字符串即可
  15. */
  16. /** 列表开始播放下标 默认:0 */
  17. @property(nonatomic,assign)int playIndex;
  18. /** 列表开始播放视频的id */
  19. @property(nonatomic,strong)NSString *videoID;
  20. /** 视频列表 */
  21. @property(nonatomic,strong)NSMutableArray *videoList;
  22. /** 当前分页下标 默认:1*/
  23. @property(nonatomic,assign)int paging;
  24. /** 视频列表url */
  25. @property(nonatomic,strong)NSString *baseUrl; //为空代表进入的观看页面将不能上下滑动
  26. /** 页面来源 */
  27. @property(nonatomic,strong)NSString *fromWhere;
  28. -(void)goLookVC;
  29. @end