zkleaf / zbanner Goto Github PK
View Code? Open in Web Editor NEWAndroid广告视频图片混播控件,支持无限循环和多种主题,可以灵活设置轮播样式、动画、轮播和切换时间、位置、图片加载框架、支持视频框架等!
Android广告视频图片混播控件,支持无限循环和多种主题,可以灵活设置轮播样式、动画、轮播和切换时间、位置、图片加载框架、支持视频框架等!
第一个视图为视频,第二个为图片,默认进去是不会自动播放的,但是点击播放后播放完视频,执行了自动轮播,从图片回到视频后,视频会自动播放,怎么控制轮播开启后不自动播放视频
您好,我是一个初学者,刚好公司需求要求视频图片轮播,我看您增加了视频播放接口,十分高兴,我尝试在本地资源文件中创建了raw目录,放了两个视频文件v1.mp4,v2.mp4进去,但是播放的时候只有视频的缩略图显示,视频无法播放,gif文件是有播放效果的,不知道我的使用是否正确,期待您的回复,多谢多谢~~
private void initView() {
banner = (Banner) findViewById(R.id.banner);
//本地图片数据(资源文件)
List list=new ArrayList<>();
list.add(R.mipmap.gif1);
list.add(R.raw.v1);
list.add(R.raw.v2);
banner.setImages(list)
.setImageLoader(new GlideImageLoader())
.setVideoLoader(new IjkVideoLoader())
.start();
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.