|
Hi
I cant find a way to use an url that requires basic auth when im useing mp.setDataSource(url);
MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.prepareAsync();
Anyone that got any ideas?
Started by PHP Jedi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried putting the user ID and password in the URL?
http://<user>:<password>@<host>:<port>/<url-path>
I don't think the native media player supports this. .
|
|
Hi there!
Can anyone tell me if the Android MediaPlayer class is able to play a video stored in a remoted URL? Just for testing purposes, can I use the URL http://localhost/video-name.3gp . Another question is if the MediaPlayer works well on the emulator...
Started by Rui Gonçalves on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Can anyone tell me if the Android MediaPlayer class is able to play a video stored in a remoted URL is if the MediaPlayer works well on the emulator?
Only if you have a fairly fast machine, and not for streaming player object
Mediaplayer....
|
|
I need to play .vox files on my web page. Does anyone have any tips on how to play .vox files using the Silverlight Mediaplayer control?
Started by TGnat on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Convert it to MP3 and it should play..
It won't play VOX files.
You can see the supported formats/containers here: Supported Audio and Video Formats .
Silverlight will only play VC-1 encoded content right now.
|
Ask your Facebook Friends
|
I am currently working on an MP3 player (in a WPF application) with a WPF MediaPlayer and basically, I want to implement a Song Seeker which moves along with the current playing song.
I already implemented a song slider (from Sacha Barber's application...
Started by Andreas Grech on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Public partial class Main : Window { MediaPlayer MPlayer; MediaTimeline MTimeline; public Main() { InitializeComponent(); var uri = new Uri("C:\\Test.mp3"); MPlayer = new MediaPlayer of a MediaPlayer, it....
With a Pause/Play button.
|
|
I am working on an iPhone application that uses a MediaPlayer to play a couple different videos. It works great for the first video but when I try to play another the screen stays black and only the audio plays. Does anyone have any idea why this might...
Started by Matt on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Code example.
I needed to release the MediaPlayer before calling the second video.
I figured it out.
|
|
I'm playing video in a MediaElement in WPF.
It's working 1000's of times, over and over again.
Once in a blue moon (like once a week), I get a windows exception (you know the dialog Dr. Watson Crash??) that happens. The MediaElment doesn't expose an error...
Started by ScottCate on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Works fine for hours and hours then suddenly once a day/week or even month we get this giant dirty error message on screen... .
Hi Scott, I'm having same issue with playing back jpg files in a windows forms.net application with the quicktime active x control .
|
|
Is everything well with gecko-mediaplayer? It has worked for me quite well in the past until now. I used to go to http://jt.france2.fr/20h/ and watch evening news and go to apple trailers to watch some upcoming movies' trailers. All of a sudden gecko-...
Started by Job on
, 11 posts
by 6 people.
Answer Snippets (Read the full thread at debian):
Gecko-mediaplayer was able to play trailers totem-mozilla instead of gecko-mediaplayer,
so i removed gecko-mediaplayer and installed totem-mozilla (Chrome left, Iceweasel....
This is something i noticed back when i used Linux Mint 9 .
|
|
Hi, we have a site ( https://oursite.net ) in which we display a videostream hosted on http ( http://someserver.com ). The site needs to be hosted on https, and we don't control the video, so I'm assuming it needs to be on http. we recently added the ...
Started by AndreasKnudsen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's also likely that there is a cross-scheme issue: you should try and optimize... .
Can you check the enableHtmlAccess property on the object tag to make sure it is true? Most media players end up using the HTML DOM bridge to communicate with the web page .
|
|
MediaPlayer. Hi,
Why does my MediaPlayer stop when I change the layout?
MediaPlayer mp = MediaPlayer.create(this, R.raw.background_song); mp.setLooping(true); mp.start(); setContentView(R.layout.menu_screen);
Thanks in advance
Started by TP-Oreilly on
, 5 posts
by 2 people.
Answer Snippets (Read the full thread at javaprogrammingforums):
Basically....
First set the layout file
setContentView(R.layout.menu_screen); MediaPlayer mp = MediaPlayer.create(this, R.raw.background_song); mp.setLooping(true); mp.start(); Re: MediaPlayer/MediaPlayer stops.
Re: MediaPlayer.
|
|
Hi ,
I using MediaPlayer play video can not receive MediaEnded/MediaFailed/CurrentStateChanged event.
<MediaPlayer MediaEnded ="MediaPlayVideoAudio_MediaEnded" x : Name ="MediaPlayVideoAudio" HorizontalAlignment ="Left" VerticalAlignment ="Top" Width...
Answer Snippets (Read the full thread at microsoft):
Hook up to the LayoutUpdated of ....
However I found a way to get the MediaElement that's hosted inside the MediaPlayer.
J MediaElement can receive MediaEnded/MediaFailed of the MediaPlayer.
On the MediaPlayer, it still cannot work.
|