Related to playing videos in Android API
Questions tagged [android-video-player]
541 questions
0
votes
2 answers
How to Set android video width and height
i have issues in android video playing. am geting videos from server and set to videoview but videos is playing in backgroung am not able to see that videos ,please refer my code what i have tried.
XML FILE

venu
- 2,971
- 6
- 40
- 59
0
votes
1 answer
Android VideoView throws error and warnings
I'm working with a videoview and I play dynamically videos which are stored locally.
Here's my…

Ron
- 22,128
- 31
- 108
- 206
0
votes
3 answers
VideoView vs Intent.action_view of user choice
I want to play video in my application, but now am confused in different approach to play video in android. Android itself has a feature "VideoView". Shall I implement this videoView or use an Intent.action_view to open the video in the existing…

Kanika
- 10,648
- 18
- 61
- 81
0
votes
0 answers
App mysteriously closes after an hour
Whilst debugging my application, after about an hour, I got the following messages in LogCat:
10-25 12:27:37.180 13308-13308/com.my.app E/InputEventReceiver﹕ channel '42294e98 com.my.app/com.my.app.MainActivity (client)' ~ Publisher closed input…

Mr Pablo
- 4,109
- 8
- 51
- 104
0
votes
3 answers
How to play YouTube video in Android native player?
How to play YouTube video in Android native player? If any one achieved this please let me know the way.

Murugan
- 15
- 1
- 4
0
votes
1 answer
getting error while playing a video file with VideoView and MediaController
I am trying to implement a video player with the help of VideoView and MediaController. I have tried reading a mp4 file that I have recorded with my camera which is stored on my sdcard and also a file from a remote server. But everytime I am getting…

Anand Prakash
- 381
- 2
- 9
0
votes
1 answer
Playing Video doesn't work
I wont to play a video in my application ...
I write the code as below:
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.TextView;
public class MainActivity extends Activity {
public…
user2639866
0
votes
1 answer
Video aspect ratio is not correct, I set a ratio of 1.333 and the video has 1:1
I use a Frame Layout, on which i bind my video player like this:
private void initVideoPlayer(View root) {
mVideoPlayer = new TextureViewVideoPlayer(width, height);
mVideoPlayer.setOnErrorListener(this);
…

rosu alin
- 5,674
- 11
- 69
- 150
0
votes
1 answer
Youtube and Vimeo Videos support in Android with Vitamio
In my app I am trying to play a Vimeo video using VideoView but that seems out of scope right now and therefore I have decided to first try and get the youtube video work.
I added vitamio plugin and it seems to work fine with mp4 videos that I…

Sahil
- 1,959
- 6
- 24
- 44
0
votes
2 answers
Getting the blank screen for 2 or 3 seconds while displaying video after image
I am developing one android application in which I am able to play all the videos and Images in SD card.But I am getting the blank screen for 2 or 3 seconds while displaying video after image. I don't want that blank screen, I need to show the video…

joe
- 221
- 2
- 5
- 13
0
votes
1 answer
How to implement custom intermediate processor to play DRM protected video stream?
I'm trying to play video stream with specific DRM implementation. I've got specific parameters for video segments in HLS playlist.
So I need to write a class(es) that gets information from HLS playlist, decrypts and decompresses the video segments…

kravemir
- 10,636
- 17
- 64
- 111
0
votes
1 answer
Android: Playing html videos in full screen
I am loading a HTML page on to a webview, which has a list of videos.
Now when I try to play the videos, they are playing but I am unable to make them play in full screen. I have used the below code in my HTML file, and on debugging found that…

Code_Yoga
- 2,968
- 6
- 30
- 49
0
votes
0 answers
Live Video Stream support for android?
I have a live video feed in m3u8 format and works great in iphone android doesnt support it.
Im planing to convert the feed using ffmpeg and just wondering what the best format/codec/protocol works best with the lowest version of android…

Mike Read
- 91
- 1
- 2
0
votes
1 answer
convert file to word readable and play him in videoview
i saved the video in this way, on my internal storage :
mMediaRecorder.setOutputFile(getOutputMediaFile(MEDIA_TYPE_VIDEO)
.toString());
outputFileName = getOutputMediaFile(MEDIA_TYPE_VIDEO).toString();
private File…

idan
- 1,508
- 5
- 29
- 60
0
votes
1 answer
Video recording only works on my device but not on other devices
I uploaded my app to google play and I noticed that the video recording does not work on other devices , on my device work fine.
So I did a debug and I discovered that I get an error message "failed to the create directory", I realized that this…

idan
- 1,508
- 5
- 29
- 60