# dkplayer **Repository Path**: dong_zhi_qiang/dkplayer ## Basic Information - **Project Name**: dkplayer - **Description**: 视频播放,小视频播放,包含点播、直播,列表播放,截图,多播放器播放,弹幕。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-02-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DKPlayer A video player based on [IjkPlayer](https://github.com/Bilibili/ijkplayer). [![JCenter](https://api.bintray.com/packages/dueeeke/maven/dkplayer-java/images/download.svg)](https://bintray.com/dueeeke/maven/dkplayer-java/_latestVersion) [![API](https://img.shields.io/badge/API-16%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=16) ## 特性 * **支持直播和点播。** * **支持调整显示比例:默认、原始大小、16:9、4:3、铺满屏幕、居中裁剪。** * **支持滑动调节播放进度、声音、亮度;双击播放、暂停;保存播放进度。** * **支持边播边缓存,使用了[AndroidVideoCache](https://github.com/danikula/AndroidVideoCache)。** * **支持弹幕,使用了[DanmakuFlameMaster](https://github.com/Bilibili/DanmakuFlameMaster)。** * **支持Https,rtsp,concat协议。** * **支持播放本地视频以及raw和assets视频。** * **支持重力感应自动进入/退出全屏以及手动进入/退出全屏,全屏状态下可锁定。** * **完美实现列表播放(RecyclerView和ListView),列表自动播放。** * **支持列表小窗全局悬浮播放,Android 8.0画中画功能。** * **支持连续播放一个列表的视频。** * **支持广告播放。** * **支持清晰度切换。** * **支持扩展自定义播放内核,MediaPlayer、ExoPlayer等。** * **支持完全自定义控制层。** * **支持多路播放器同时播放,没有任何控制UI的纯播放** * **无缝衔接播放demo。** * **抖音demo。** #### [Demo](https://fir.im/1r3u) ## 使用 #### [Wiki](https://github.com/dueeeke/dkplayer/wiki) ## 截图 |API演示|列表播放|扩展功能|画中画 |:---:|:---:|:---:|:---:| ![](https://github.com/dueeeke/dkplayer/blob/master/art/1.png)|![](https://github.com/dueeeke/dkplayer/blob/master/art/2.png)|![](https://github.com/dueeeke/dkplayer/blob/master/art/3.png)|![](https://github.com/dueeeke/dkplayer/blob/master/art/4.png) ## 混淆 -keep class tv.danmaku.ijk.** { *; } -dontwarn tv.danmaku.ijk.** -keep class com.dueeeke.videoplayer.** { *; } -dontwarn com.dueeeke.videoplayer.** ## 联系我 在github上提交[issue](https://github.com/dueeeke/dkplayer/issues)或者邮箱:xinyunjian1995@gmail.com ## License ``` Copyright (c) 2017 dueeeke Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ```