Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
552 views
in Technique[技术] by (71.8m points)

关于weex页面在android端播放视频的问题

刚试了一下weex页面在andriod端播放视频时,调的是android本地的videoView;大家都知道videoview 的扩展性太差了,没有全屏播放开关按钮等......
那么android本地怎样去扩展实现weex页面视频播放方面的功能,或是weex_sdk 有没有可供实现的接口?跪求!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

这里有一个不错的对原生VideoView的扩展,可以扩展Component来实现。地址是:https://github.com/JackCho/AndroidVideoView
正打算扩展
1.Android自定义全屏VideoView,仿主流视频客户端,左右滑屏快退快进
2.上下滑屏,手指在左半屏时,调整亮度
3.上下滑屏,手指在右半屏时,调整音量
4.横竖屏无缝自动切换


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...