Giter Site home page Giter Site logo

liuyunlong-pro / dkplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doikki/dkvideoplayer

0.0 0.0 0.0 39.08 MB

基于IjkPlayer的视频播放器,支持直播点播,悬浮窗播放,广告播放,边播边缓存;支持重力感应自动全屏;完美实现ListView和RecyclerView列表播放;支持清晰度切换;支持一行代码切换MediaPlayer和ExoPlayer;模仿抖音效果demo;Android O PiP demo

License: Apache License 2.0

Java 95.48% Shell 4.52%

dkplayer's Introduction

DKPlayer

A video player based on IjkPlayer.

JCenter API

特性

  • 支持直播和点播。
  • 支持调整显示比例:默认、原始大小、16:9、4:3、铺满屏幕、居中裁剪。
  • 支持滑动调节播放进度、声音、亮度;双击播放、暂停;保存播放进度。
  • 支持边播边缓存,使用了AndroidVideoCache
  • 支持弹幕,使用了DanmakuFlameMaster
  • 支持Https,rtsp,concat协议。
  • 支持播放本地视频以及raw和assets视频。
  • 支持重力感应自动进入/退出全屏以及手动进入/退出全屏,全屏状态下可锁定。
  • 完美实现列表播放(RecyclerView和ListView),列表自动播放。
  • 支持列表小窗全局悬浮播放,Android 8.0画中画功能。
  • 支持连续播放一个列表的视频。
  • 支持广告播放。
  • 支持清晰度切换。
  • 支持扩展自定义播放内核,MediaPlayer、ExoPlayer等。
  • 支持完全自定义控制层。
  • 支持多路播放器同时播放,没有任何控制UI的纯播放
  • 无缝衔接播放demo。
  • 抖音demo。

使用

截图

API演示 列表播放 扩展功能 画中画

混淆

-keep class tv.danmaku.ijk.** { *; }
-dontwarn tv.danmaku.ijk.**
-keep class com.dueeeke.videoplayer.** { *; }
-dontwarn com.dueeeke.videoplayer.**

联系我

在github上提交issue或者邮箱:[email protected]

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.

dkplayer's People

Contributors

doikki avatar ansnail avatar

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.