Couldn't open file on client side, trying server side Error in Android

后端 未结 3 1143
面向向阳花
面向向阳花 2020-12-17 18:23

I have tried to play a youtube video by its URL by my android program. I have used setVideoURI(uri); function also to set URI, as suggested by other POSTs in stackoverflow

3条回答
  •  死守一世寂寞
    2020-12-17 18:55

    i had the same issue none of the answers worked for me, The issue is that video format is not proper this video worked for me

    String vidAddress = "http://www.html5videoplayer.net/videos/toystory.mp4";
    

提交回复
热议问题