自定义播放器 创建方法
_playerView = [[SYMediaPlayerView alloc] initWithFrame:CGRectMake(0, TopMargin, kDWidth, MinPlayerHeight) uRL:[NSURL URLWithString:mvUrl] title:@"这是视频标题"];
_playerView.delegate=self;
[self.view addSubview:_playerView];
代理自己实现 。我也不多说了
写的 不是很好,只是完成了简单的一些功能。如有建议,请给我留言。大家共同学习,共同进步!
-
Notifications
You must be signed in to change notification settings - Fork 8
YueWangChina/ijkPlayer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于IJKPlayer框架的iOS播放器,包含全屏,播放,暂停,亮度调节,音量调节,进度条等UI控件及相应功能。
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published