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
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";