Giter Club home page Giter Club logo

krvideoplayer's Issues

时间进度提示还有点问题

1、播放完毕的时候,时间进度条还没有走完。
2、拖动进度条条,释放后,进度提示会先后退一小段,然后继续走。

解决方案:
1、NSTimer 的 interval 设置小一些,例如:0.1
2、由于设置 slide 的 value 可能小于当前的 value ,所以需要添加一些判断。

pod install之后可定制性弱。

我需要将KRVideoPlayerController
@property (nonatomic, strong) KRVideoPlayerControlView *videoControl;
属性开放。
我想要隐藏关闭按钮。

有以下建议

1.设置url,可以不立即播放。
2.干掉frame,让autoLayout来布局。

另如果按你的代码,直接写在viewdidLoad是有声音没有界面的。如果让我们自己设置play与autoLayout应该不会有这样的问题哈,

谢谢。

Live URL Video not Playing.

  • (IBAction)playRemoteVideo:(id)sender
    {
    NSURL *videoURL = [NSURL URLWithString:@"http://XXX.com/pryMe/assets/uploads/video/58c946519990f.mov"];
    [self playVideoWithURL:videoURL];
    }

It show only black display, it will not streaming video.

退出了声音还在播放

视频没播放完的时候点退出,声音还在播放,而且最后一秒播放不了,不知道是进度条显示有问题还是没播放完

视频分辨率

能否添加类似于腾讯视频那样,可以选择视频分辨率的功能,一直没能做出来,求大神开源😄

改进点

1.横屏变成全屏播放 竖屏回来
2.全屏左半边上下滑动可调节亮度
右半边上下滑动可调节音量
上半边左右滑动可慢速调节进度
下半边左右滑动可快速调节进度

pod导入时,图片资源无法读取到,把videoImageName方法完善成这样就可以了

KRVideoPlayerControlView类的:

  • (NSString *)videoImageName:(NSString *)name
    {
    if (name) {
    NSString *path = [NSString stringWithFormat:@"KRVideoPlayer.bundle/%@",name];
    UIImage *image = [UIImage imageNamed:path];
    if (!image) { // 如果取不到图片,要从这个路径读取
    path = [@"Frameworks/KRVideoPlayer.framework/KRVideoPlayer.bundle" stringByAppendingPathComponent:name];
    }
    return path;
    }
    return nil;
    }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.