Skip to content

MrHT/HTNativePlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTNativePlayer

CI Status Version License Platform

iOS原生视频播放器控件,支持本地视频和网络视频

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

HTNativePlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:

添加头文件:#import "HTNativePlayer.h"

HTNativePlayer *view = [[HTNativePlayer alloc] init];
view.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
[self.view addSubview:view];
self.playView = view;
view.autoPlay = YES;
view.cyclePlay = YES;
view.url = @"http://xxx";

Author

tao, xxx

License

HTNativePlayer is available under the MIT license. See the LICENSE file for more info.

About

iOS原生视频播放器控件,支持本地视频和网络视频

Resources

License

Stars

Watchers

Forks

Packages

No packages published