Getting an error while playing a video using VideoView in android -


in application want show video online streaming video not start , getting error "sorry video can not played" , logcat error

couldn't open file on client side trying server side , mediaplayer error (1,-1004)  

what mean.

first check have added internet permission in manifest.

next, check extension of video format.

here can check files android phones , tablets support, both codec , filename extension information provided.

if want play videos on android, find multi-format video player or convert videos android compatible formats.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -