Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
0
votes
3 answers

Corner for VideoView - Android

I am developing an application for Android mobiles. i want to play an video. It's working fine. Now i have one issue. i want to set the corner for VideoView. Is it possible to set the corner for VideoView? I using following xml code:
Amsheer
  • 7,046
  • 8
  • 47
  • 81
0
votes
1 answer

Android MediaExtractor crash when decoding some mp4 files. Libc fatal signal 11

I am using Google Grafika examples to display video on TextureView. "Double decode" to be more specific . Code work most of the time but for some mp4 files it crash giving only : libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid…
wonglik
  • 1,043
  • 4
  • 18
  • 36
0
votes
1 answer

Need get correct AVI Player class to play all AVI video files inside android application

I try to get correct AVI video player to play AVI file since my current AVI Player class looks like not work really good anymore. Some AVI files can play correctly, but the others can not. People who know which AVI Video player class play all avi…
Huy Tower
  • 7,769
  • 16
  • 61
  • 86
0
votes
1 answer

How to change Android VideoView content color when data isn't ready

I'm working on a video player app, and I'm using a VideoView to show the videos. The videos are obtained from a url like so videoView.setVideoURI(videoUri); videoView.start(); When there's no internet connection, the videoView just looks all black…
0
votes
0 answers

Error in Playing video in videoview with tab (android)

Hey when i go to play video in videoview, the app is crashing. Error: android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@536f91ec is not valid; is your activity…
0
votes
0 answers

Android Video Player by using TextureView

I am making a android video player by using MediaPlayer and custom a TextureView . But my code had an error at line mContext.sendBroadcast(i); in the function of openVideo(); private void openVideo() { Log.e(TAG, "openVideo"); if (mUri ==…
Kanguru
  • 51
  • 4
0
votes
1 answer

Android VideoView setDataSource failed.: status=0x80000000

I know there are countless questions on stackoverflow describing this error and I have gone through each one of them in detail. Unfortunately none of the solution worked for me. I can't believe streaming a video is such a pain. This is my…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
0
votes
1 answer

ExoPlayer Video not playing for Android version 4.2.1

I have one issue while using android ExoPlayer for streaming url. Here I have attached sample URL: http://epicmediaservice.streaming.mediaservices.windows.net/0bd4f655-00f9-4e36-a638-f8e90d9432c9/Nursery%20Rhymes%20Sample%20Clip.ism It is working in…
Palakp
  • 181
  • 1
  • 2
  • 11
0
votes
1 answer

Android Studio Video Player buttons and list index

I am learning Android Studio and java, my level is totaly beginner but I am trying to make video player with simple buttons: Previous, Next, exit and option checkbox for random video from list. So far it's working but just once, next clicks are just…
0
votes
1 answer

stream video on device bytewise to videoview - Android

I want to play encrypted video files present on my device after decrypting them. I want to pre-process the data-stream and parallel play it using videoview like streaming video from Internet. Is there any way I could buffer the processed data to…
user4595813
0
votes
0 answers

Stream Video On Android Like YouTube

I want to play video on my android app with a player like YouTube. My webapp is using videojs for playing different video formats. I dont wish to use the native media player on android as i want to show portrait version of it and show the likes and…
0
votes
1 answer

Android custom media controller using vidtry

I want to use a custom media controller in my Android app and therefore looking at the vidtry code (http://github.com/commonsguy/vidtry), especially Player.java: The sample works fine as it comes. But I want the sample to play the fixed video…
Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
0
votes
0 answers

how to pause ,stop volume and mute a video without using media controller?

I want to pause mute volume a video on button without using media controller. I'm using the following code: sound.setOnClickListener(new View.OnClickListener() { // @Override // public void onClick(View v) { // // …
0
votes
0 answers

How to make a video to auto play when visible in android

I have multiple videos in a screen I am trying to auto play a video when visible .That is,all videos should be in pause state by default.It should play automatically only when I watch the video.If I scroll down the screen,next video should play…
0
votes
1 answer

Android: Unable to display thumbnail of video

I am trying to display thumbnail of a video but I am not able to generate the thumbnail for the video. My activity_main contains
user3726986