How can I get an Android MediaController to appear from layout xml?

前端 未结 7 1755
无人及你
无人及你 2020-12-28 11:10

I\'ve created a layout.xml file with the following XML, but I can\'t get the MediaController to appear at all.



        
7条回答
  •  春和景丽
    2020-12-28 11:51

    I think it is your "mVideoView.setVideoURI" section. I have recently been working on a similar thing including this and it seems that the video has to be retrieved via server. You will need to store your videos on a server then call it here. That's what happened with me anyway.

提交回复
热议问题