tangdiforx / ttavplayer Goto Github PK
View Code? Open in Web Editor NEW基于AVPlayer的iOS视频播放器,支持预设模式:普通模式,竖屏模式,横屏模式,静音模式,自定义模式。接入成本低,支持丰富的手势操作以及UI自定义。
基于AVPlayer的iOS视频播放器,支持预设模式:普通模式,竖屏模式,横屏模式,静音模式,自定义模式。接入成本低,支持丰富的手势操作以及UI自定义。
您好,请问现在可以用pods方式集成了吗?
手动集成 和 是pods集成方式, 我直接拖文件夹TTAVPlayer到项目中,手动集成,运行不了。可否具体完善下集成方式。O(∩_∩)O谢谢
您好,我在使用TTAVPlayer的时候,发现它对沙盒中的视频不能够很好的支持, 因为在沙盒中的属性需要用到 NSURL *url = [NSURL fileURLWithPath:self.videoUrl]; 而TTAVPlayer里边是 NSURL *url = [NSURL urlWithString:self.videoUrl]。
所以我建议,把TTAVPlayerVideoInfo中的videoUrl 的属性改为NSURL
您觉得呢
Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection., NSUnderlyingError=0x100fd0410 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "(null)"}}
崩溃在这里 weakSelf.totalTime = weakSelf.currentItem.asset.duration.value / weakSelf.currentItem.asset.duration.timescale;
请问 本地沙盒的视频怎么播放
需要播放网络的视频, 也需要播放下载的视频
集成方式最好支持: 手动集成 和 pods集成方式,以适应不同项目的需求。大神辛苦了
当视频处于加载状态,还未处于播放状态,如果拖动slider,会出现崩溃
给出的建议:
在初始加载的状态,下部状态栏不显示
或者
修改相关的bug
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.