ijkplayer视频播放框架
程序员文章站
2024-01-16 19:19:16
...
布局 PlayerView
权限
implementation 'com.github.axlecho:SakuraPlayer:0.4'
implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4'
implementation 'com.android.support:design:28.0.0'
allprojects {
--------
maven { url "https://jitpack.io" } //在project.gradle加入
}
//使用方法
playview.setVideoUrl("http://ips.ifeng.com/video19.ifeng.com/video09/2014/06/16/1989823-102-086-0009.mp4");