HMVideoPlayerViewController.h 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // HMRecomendViewController.h
  3. // BuguLive
  4. //
  5. // Created by 范东 on 2018/12/27.
  6. // Copyright © 2018 xfg. All rights reserved.
  7. // 首页的推荐页面
  8. #import "BGBaseViewController.h"
  9. #import "HMVideoView.h"
  10. #import "MGLiveRechargeView.h"
  11. @class SmallVideoListModel;
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface HMVideoPlayerViewController : BGBaseViewController
  14. @property(nonatomic, strong) HMVideoView *videoView;
  15. //充值界面
  16. @property(nonatomic, strong) MGLiveRechargeView *mgRechargeView;
  17. @property(nonatomic, assign) BOOL isViewAppear;
  18. // 播放单个视频
  19. - (instancetype)initWithVideoModel:(SmallVideoListModel *)model;
  20. // 播放一组视频,并指定播放位置
  21. - (instancetype)initWithVideos:(NSArray *)videos index:(NSInteger)index IsPushed:(BOOL)isPushed requestDict:(NSDictionary *)dict;
  22. - (void)pausePlay;
  23. - (void)resumePlay;
  24. @property(nonatomic, copy) void (^isRefreshVideoBlock)(BOOL isRefresh);
  25. @end
  26. NS_ASSUME_NONNULL_END