1

In my application I want to show a video by online streaming but video does not start and I am getting an error "Sorry this video can not be played" and logcat error is

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

what does that mean.

Avadhani Y
  • 7,566
  • 19
  • 63
  • 90
user2240776
  • 25
  • 1
  • 4

1 Answers1

0

First check that you have added INTERNET permission in your manifest.

Next, Check what is the extension of your video format.

here you can check what files Android phones and tablets support, with both codec and filename extension information provided.

if you want to play videos on Android, find a multi-format video player or convert videos to Android compatible formats.

Community
  • 1
  • 1
Linga
  • 10,379
  • 10
  • 52
  • 104
  • yes i have added internet permission in my android manifest file and the link of the video is http://cdn.videodetective.net/svideo-mp4-750/mp4/750/119/005011.mp4?c=9091234&r=750&s=5011&d=134&sub=&ref=na&fmt=4&e=20130207110215&h=0c5f8127c868ba507cf2c – user2240776 Apr 18 '13 at 10:32
  • is there any problem with my url of that video – user2240776 Apr 18 '13 at 11:30