VideoDemoQcl | 安卓视频播放器
kandi X-RAY | VideoDemoQcl Summary
kandi X-RAY | VideoDemoQcl Summary
VideoDemoQcl is a Java library. VideoDemoQcl has no vulnerabilities, it has build file available and it has low support. However VideoDemoQcl has 3 bugs. You can download it from GitHub.
#一,主要特点 #####1,全屏时启动新Activity实现播放器真正的全屏功能 #####2,能在ListView、ViewPager和ListView、ViewPager和Fragment等多重嵌套模式下全屏工作 #####3,ListView的拖拽和ViewPager的滑动时如果划出屏幕会自动重置视频 #####4,视频大小的屏幕适配,宽或长至少有两个对边是充满屏幕的,另外两个方向居中 #####5,可以在加载、暂停、播放等各种状态中正常进入全屏和退出全屏 #####6,根据自己应用的颜色风格换肤 #####7,播放MP3时显示缩略图片. ##(一,导入到项目(建议用第二种方式) 1.引入类库 compile 'fm.jiecao:jiecaovideoplayer:1.8'//引入类库时有个bug所以建议直接引入源码lib 2.引入源码 将jcvideoplayer-lib作为类库引入到你的项目中 ###如下图 ##(二.添加布局 ##(三.设置视频地址、缩略图地址、标题 JCVideoPlayer videoController = (JCVideoPlayer) findViewById(R.id.videocontroller); videoController.setUp("""一行代码实现视频播放"); ##(四.在包含播放器的Fragment或Activity的onPause()方法中调用JCVideoPlayer.releaseAllVideos();. ###1,设置皮肤(主题),这里设置的是整个项目里的全局皮肤,优先级:全局皮肤>默认皮肤 //设置全局皮肤 JCVideoPlayer.setGlobleSkin(R.color.titleColor, R.color.timeColor, R.drawable.skin_seek_progress, R.color.bottom_bg, R.drawable.skin_enlarge_video, R.drawable.skin_shrink_video);. ###3.直接进入全屏,比如在webview中视频播放的适配很难做,调用此接口直接全屏播放 JCVideoPlayer.toFullscreenActivity(this, """一行代码实现视频播放"); ###4.不显示标题 videoController.setUp("""一行代码实现视频播放", false); ###5.在ListView和ViewPager中将视频移除屏幕外,会在onDetachedFromWindow时重置视频。 目标是在库外只需要添加布局,添加配置,其他的问题都在库内判断和操作。. #六,混淆 ##Eventbus混淆 -keepclassmembers class ** { public void onEvent*(*); } # Only required if you use AsyncExecutor -keepclassmembers class * extends de.greenrobot.event.util.ThrowableFailureEvent { public (java.lang.Throwable); } # Don't warn for missing support classes -dontwarn de.greenrobot.event.util.$Support -dontwarn de.greenrobot.event.util.$SupportManagerFragment.
#一,主要特点 #####1,全屏时启动新Activity实现播放器真正的全屏功能 #####2,能在ListView、ViewPager和ListView、ViewPager和Fragment等多重嵌套模式下全屏工作 #####3,ListView的拖拽和ViewPager的滑动时如果划出屏幕会自动重置视频 #####4,视频大小的屏幕适配,宽或长至少有两个对边是充满屏幕的,另外两个方向居中 #####5,可以在加载、暂停、播放等各种状态中正常进入全屏和退出全屏 #####6,根据自己应用的颜色风格换肤 #####7,播放MP3时显示缩略图片. ##(一,导入到项目(建议用第二种方式) 1.引入类库 compile 'fm.jiecao:jiecaovideoplayer:1.8'//引入类库时有个bug所以建议直接引入源码lib 2.引入源码 将jcvideoplayer-lib作为类库引入到你的项目中 ###如下图 ##(二.添加布局 ##(三.设置视频地址、缩略图地址、标题 JCVideoPlayer videoController = (JCVideoPlayer) findViewById(R.id.videocontroller); videoController.setUp("""一行代码实现视频播放"); ##(四.在包含播放器的Fragment或Activity的onPause()方法中调用JCVideoPlayer.releaseAllVideos();. ###1,设置皮肤(主题),这里设置的是整个项目里的全局皮肤,优先级:全局皮肤>默认皮肤 //设置全局皮肤 JCVideoPlayer.setGlobleSkin(R.color.titleColor, R.color.timeColor, R.drawable.skin_seek_progress, R.color.bottom_bg, R.drawable.skin_enlarge_video, R.drawable.skin_shrink_video);. ###3.直接进入全屏,比如在webview中视频播放的适配很难做,调用此接口直接全屏播放 JCVideoPlayer.toFullscreenActivity(this, """一行代码实现视频播放"); ###4.不显示标题 videoController.setUp("""一行代码实现视频播放", false); ###5.在ListView和ViewPager中将视频移除屏幕外,会在onDetachedFromWindow时重置视频。 目标是在库外只需要添加布局,添加配置,其他的问题都在库内判断和操作。. #六,混淆 ##Eventbus混淆 -keepclassmembers class ** { public void onEvent*(*); } # Only required if you use AsyncExecutor -keepclassmembers class * extends de.greenrobot.event.util.ThrowableFailureEvent { public (java.lang.Throwable); } # Don't warn for missing support classes -dontwarn de.greenrobot.event.util.$Support -dontwarn de.greenrobot.event.util.$SupportManagerFragment.
Support
Quality
Security
License
Reuse
Support
VideoDemoQcl has a low active ecosystem.
It has 291 star(s) with 116 fork(s). There are 14 watchers for this library.
It had no major release in the last 6 months.
There are 6 open issues and 1 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of VideoDemoQcl is current.
Quality
VideoDemoQcl has 3 bugs (1 blocker, 0 critical, 2 major, 0 minor) and 102 code smells.
Security
VideoDemoQcl has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
VideoDemoQcl code analysis shows 0 unresolved vulnerabilities.
There are 2 security hotspots that need review.
License
VideoDemoQcl does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
VideoDemoQcl releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
VideoDemoQcl saves you 813 person hours of effort in developing the same functionality from scratch.
It has 1866 lines of code, 105 functions and 45 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed VideoDemoQcl and discovered the below as its top functions. This is intended to give you an instant insight into VideoDemoQcl implemented functionality, and help decide if they suit your requirements.
- Called when the button is clicked
- Called when the mouse button is clicked
- Formats a time in milliseconds
- Prepare media player to play
- Event handler
- Stop playing to fullscreen
- Set state
- Starts the progress timer
- Initializes the view
- Setup internal state
- Set up the video controller
- Set up the content to play
- Set callback listener
- Set progress
- Disconnects from the window
- On pause
- On create the video
- Initializes the controller
- Click on view
- Initializes the VideoList
- Get the view
- Set touch event
- Initializes the list
- Sets the image size based on the specified width and height
- Inflates the view
- Called when a surface is created
Get all kandi verified functions for this library.
VideoDemoQcl Key Features
No Key Features are available at this moment for VideoDemoQcl.
VideoDemoQcl Examples and Code Snippets
No Code Snippets are available at this moment for VideoDemoQcl.
Community Discussions
No Community Discussions are available at this moment for VideoDemoQcl.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install VideoDemoQcl
You can download it from GitHub.
You can use VideoDemoQcl like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the VideoDemoQcl component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
You can use VideoDemoQcl like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the VideoDemoQcl component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page