Skip to content

yehkong/YTVLCMoivePlayer

Repository files navigation

YTVLCMoivePlayer

技术博客地址:一款基于VLC的在线视频播放器

序言:VLC是开源的多媒体播放器,也是基于FFmpeg,而且现行的大部分常用的视频格式都可以正常解码和播放。基于编译出来的MobileVLCKit.framework,我封装了一款在线视频播放器。

IMG_1003.PNG IMG_1005.PNG

  • 项目结构: 1.png

  • 播放器的使用也是非常的简单,只要初始化后提供播放的URL即可开始播放。

NSURL *url = [NSURL URLWithString:@"http://v4ttyey-10001453.video.myqcloud.com/Microblog/288-4-1452304375video1466172731.mp4"];
NSURL *bundleUrl = [[NSBundle mainBundle]URLForResource:@"YTVLCMoivePlayer" withExtension:@"bundle"];
NSBundle *myBundle = [NSBundle bundleWithURL:bundleUrl];
YTVLCMoivePlayer *player = [[YTVLCMoivePlayer alloc]initWithNibName:@"YTVLCMoivePlayer" bundle:myBundle];
player.url = url;
[self presentViewController:player animated:YES completion:nil];

About

基于完全开源的VLC的在线播放器,流畅,不卡顿

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published