How to play a video file in android?

后端 未结 6 1837
有刺的猬
有刺的猬 2020-12-29 08:03

I am placed video MP4 to my domain space. I have its public URL, Now i want to play it in my android app; but don\'t know how can I do this. I used following code which is n

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 08:35

    If you are trying this in your emulator, you might have to try it in a real device, because sometimes I too use face the same problem. I will not be able to view the video in emulator, but the video will play without any problem in the mobile. the problem is, I think with the emulator, not with your code.

提交回复
热议问题