Git Product home page Git Product logo

wangcheng1012 / gsyvideoplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blackbbc/gsyvideoplayer

0.0 1.0 0.0 120.82 MB

视频播放器(IJKplayer),HTTPS支持,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频本身自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放 ,直接添加控件为封面,列表全屏动画,视频加载速度,列表小窗口支持拖动,5.0的过场效果,调整比例,多分辨率切换,支持切换播放器,进度条小窗口预览,其他一些小动画效果。简书:

Home Page: http://www.jianshu.com/p/9fe377dd9750

Java 100.00%

gsyvideoplayer's Introduction

基于IJKPlayer,实现了多功能的视频播放器。

  • 支持基本的拖动,声音、亮度调节。
  • 支持边播边缓存,使用了AndroidVideoCache
  • 支持视频本身自带rotation的旋转。
  • 增加了重力旋转与手动旋转的同步支持。
  • 支持列表播放。
  • 直接添加控件为封面。
  • 全屏和播放等的动画效果。
  • 列表的全屏效果优化,多种配置模式。
  • 列表的小窗口播放,可拖动。
  • 网络视频加载速度。
  • 锁定/解锁全屏点击功能。
  • 支持快播和慢播。
  • 调整显示比例:默认、16:9、4:3。
  • 调整不同清晰度的支持。
  • 支持IJKPlayer和EXOPlayer切换。
  • 进度条小窗口预览(测试)。
  • Https支持。
  • 连续播放一个列表的视频。
  • 支持全屏与非全屏两套布局切换

Build Status

使用依赖

在project下的build.gradle添加

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

在module下的build.gradle添加

dependencies {
        compile 'com.github.CarGuo:GSYVideoPlayer:v1.5.6'
}

QQ群,有兴趣的可以进来,无底线欢迎:174815284 。


文档Wiki

其他

 

运行效果

 
  • 1、打开一个播放

  • 2、列表/详情模式

  • 3、进度条小窗口预览

近期版本

1.5.6

  • 修复了mUrl再error后为空的问题。
  • 增加了GSYVideoManager的option配置接口。
/**
 * 设置IJK视频的option
 */
public void setOptionModelList(List<VideoOptionModel> optionModelList)

1.5.5

  • update ijk 0.7.6。
  • 快播与慢播接口支持M以下。

1.5.4

  • 增加了静音播放接口。

GSYVideoManager下 可参考:ListNormalAdapter

/**
 * 是否需要静音
 */
public void setNeedMute(boolean needMute)

更多版本请查阅:版本更新说明

混淆

-keep class tv.danmaku.ijk.** { *; }
-dontwarn tv.danmaku.ijk.**
-keep class com.shuyu.gsyvideoplayer.** { *; }
-dontwarn com.shuyu.gsyvideoplayer.**

License

请参看IJKPlayer和AndroidVideoCache相关协议。

gsyvideoplayer's People

Contributors

carguo avatar blackbbc avatar

Watchers

 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.