search

Home  >  Q&A  >  body text

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

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

伊谢尔伦伊谢尔伦2771 days ago877

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 09:21:49

    Here is a good extension to native VideoView, which can be implemented by extending Component. The address is: https://github.com/JackCho/AndroidVideoView
    is planning to expand
    1. Android custom full-screen VideoView, imitating mainstream video clients, slide left and right to rewind and fast forward
    2. Swipe up and down, adjust the brightness when your finger is on the left half of the screen
    3. Up Swipe down the screen and adjust the volume when your finger is on the right half of the screen
    4. Seamless automatic switching between horizontal and vertical screens

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:21:49

    Write it in native, and then call it with weex.

    reply
    0
  • Cancelreply