I'm getting java.net.ProtocolException
for some of the videos. This is how passing the URL to videoview
. Did anyone face this before?
videoview.setVideoURI(videourl);
I'm getting java.net.ProtocolException
for some of the videos. This is how passing the URL to videoview
. Did anyone face this before?
videoview.setVideoURI(videourl);
Copyright © 2021 Jogjafile Inc.
After several rounds of debugging, I figured out it is due to the unsupported video format. Android default Mediaplayer or Videoview doesn't support all formats, for eg: MOV.
By using the exoplayer you can overcome this issue. Pls chk the supported formats here.