Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8454997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:10:21+00:00 2026-06-10T12:10:21+00:00

I tried to play the following two urls by video view on Android device,

  • 0

I tried to play the following two urls by video view on Android device, the first one has worked fine but the second one is not working. the second one may needs ssl certificate but i don’t know how to play it the error code appears when I am trying to play it is :

 E/MediaPlayer error (1, -4)

I checked a link that mentioned list of error codes and it said that error(1,-4) means NotSupportedFormat. So why this error doesn’t appear in the first link although both videos links are .mp4

The first working link :

 http://i250.photobucket.com/download-albums/gg264/APT08/APTAd3.mp4 

The second not working link :

  http://*********/xxxxxxxxxxxxxxxxxxxxx.mp4
  
https://**********/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.mp4

Note1: I asked a question related to this it helps to play the first link but the second still not working on android device

Note2: I am using the following code to play both links:

  VideoView myVideo = (VideoView) findViewById(R.id.videoView1);
         myVideo.setVideoPath("https://*********/bbbbbbbbbbbbbbbbbbb.mp4");
//       myVideo.setVideoURI(Uri.parse("https://*************/bbbbbbbbbbbbbbbbbbbbbbbbb0.mp4"));
    MediaController mc = new MediaController(this);
    mc.setMediaPlayer(myVideo);
    myVideo.setMediaController(mc);
    myVideo.requestFocus();
    mc.show();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:10:23+00:00Added an answer on June 10, 2026 at 12:10 pm

    we dont have https playback support for android 3.0 –
    only from 3.0 and above
    refer http://developer.android.com/guide/appendix/media-formats.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried the following command find ~/dir1 *.m4a | play Directory dir1 has exactly
I tried to play a bit with node.js and wrote following code (it doesn't
I am developing an iPhone application that has support for video play. I am
This must be an easy one but I'm really at a loss... The following
I tried to play with the Ember.StateManager and got the following issue. I have
I have been following some android tutorials on the web. I tried copying his
I need your help. I tried to play an audio file stored in Assets
I have a .wav music file. When I tried to play using SoundEffect.Play(); mus1.Play();
I am now learning on the audio framework of iphone. Just tried to play
tried uncommenting pam_limits.so from the pam.d directory but no luck. Basic PAM seems to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.