Questions tagged [media-player]

Software or hardware device designed to play audio/video files.

Media player is a term typically used to describe computer software for playing back multimedia files. While many media players can play both audio and video, others focus only on one media type or the other. Such players are known as either audio players or video players and often have a user interface tailored for the specific media type.

Used in two main senses:

  1. A program that enables your computer to record, store and play back audio and video recordings.
  2. A device such as the portable iPod media player that is also used to record, store and play back recordings.
3940 questions
1
vote
1 answer

How to share my mp3 file with other apps from raw folder

I have a recycler view of the audio file, The audio file stored in the raw folder. Now, I want to share my Audio file with other apps. I'm trying this code in adapter clss. Intent shareIntent = new Intent(); …
1
vote
1 answer

How to cancel a thread

I am trying to make a media player which has a seekbar. As the seekbar should stop progress when pause is pressed or stop is pressed. I want to stop the thread accordingly. Moreover when back is pressed I want to cancel the thread again.
abhishek
  • 1,434
  • 7
  • 39
  • 71
1
vote
0 answers

How to get song's thumbnail in React Native?

There! I'm trying to get a song thumbnail in React Native (Expo). 1. I fetch all songs from device storage. 2. I push it to different components. But I can't get an image for a song that user chooses. I don't where can I find that. So, hope you will…
oles
  • 166
  • 1
  • 2
  • 10
1
vote
0 answers

Uwp SpeechSynthesizer/MediaPlayer memory leak

We have a Uwp app that uses Microsoft voices to speak and read the text as it speaks. I noticed that the app's memory usage increases with each bit of text that is spoken, and it will eventually run out of memory. It does not matter which voice is…
J Nelson
  • 138
  • 1
  • 1
  • 12
1
vote
1 answer

How to play audio and video in MVC

I am porting an ASP. NET application to MVC .in one page i need to play audio and video file . For that i used MediaPlayers.dll in the application. In asp .net i usd it like shown below <%@ Register Assembly="MediaPlayers" Namespace="MediaPlayers"…
Null Pointer
  • 9,089
  • 26
  • 73
  • 118
1
vote
1 answer

Mediaplayer - stop current audio when clicking on new audio

Im a newbie to android studio (programming at general) but i want to build a mediaplayer for learning purposes. I have a a list of local music in a listView that contains 2 images 'play, pause and stop button'. This is how my app works: Click on…
Delice
  • 743
  • 9
  • 20
1
vote
0 answers

MediaPlayer Url issue Only on Android 6.0.1

After Calling the below method The app appears to be stuck on the loading screen and stop responding ,I'm performing my tests on a WiFi network so the connection should not be the issue. Testing with Android M 6.0.0 works fine, this only occurs…
Praveen
  • 946
  • 6
  • 14
1
vote
1 answer

IOS media player - Skip to a specific time

I am wondeing: Is there any method to skip to a specific time or skip a specific lapse with IOS Mediaplayer? I cannot find anything similar in the docs. There is a property myMediaPlyer.currentPlaybackTime and there is the method …
1
vote
0 answers

Play a video through a url with MediaPlayer not working on Android 9

I'm trying to play a video through a url, it works on android <9 but on android 9 it's not working @Override public void onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) { MediaPlayer mediaPlayer = new…
MusabAlothman
  • 68
  • 1
  • 8
1
vote
2 answers

Chrome won't play Icecast streaming link

So I have this code that opens my ''player'' that I made myself. But when player is opened no sound comes out, it never happened before. What could be the reason. When opened with Chrome no sound comes no matter how player is opened, whatever it…
1
vote
0 answers

MPV Player automatically pause after long run

I have implemented Linux player using MPV player npm package mpv-controller. I want to loop the video for a long time. Initially it's working fine up to 6 hours(approx). Then the video automatically paused. While I investigate there is no memory…
Richardson. M
  • 852
  • 2
  • 17
  • 28
1
vote
1 answer

Invoke Media Player in BlackBerry

Is there is a way to invoke a media player in BlackBerry ? If so, can we also pass a url to the player asking it to open and stream a remote url file?
Ravi
  • 11
  • 2
1
vote
2 answers

How to show seekbar along with the custom mediaplayer

i have build a custom media player and i want to show the seekbar also. The seekbar is showing for now but is not functional i.e. it is not progressing when the song is played. Let me know where am i wrong . Following is the code public class…
abhishek
  • 1,434
  • 7
  • 39
  • 71
1
vote
1 answer

Audio Player in Container/XiB Swift

I'm developing custom audio player for streaming music for my app and I need it to be present on every screen in my app at the bottom. For this I used UIContainerView and later xib but faced same issue in both cases: When performing segue to…
Taras Tomchuk
  • 331
  • 7
  • 19
1
vote
2 answers

Canceling the SpaceBar Click/Tap on uwp controls throughout the app

When a UI element ( control ) is focused in a uwp app it can be triggered with Spacebar or the Enter keys, this is not limited to Desktop but also helps in Xbox so user can navigate through the controls and press on any focused control to active its…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75