Solved

Embedded Windows Media Player Stops Playing After A Few Seconds

Posted on 2008-06-18
3
719 Views
Last Modified: 2013-12-07
Hi everyone

I've embedded a couple of media players (WMP and QT) into a webpage for playback via HTTP (from a normal web server). The problem is that when the page is loading, the media player starts playing the clip - I can hear the content (its audio only) - but it always stops after a few seconds. It stops at slightly varying times, but almost never plays for more than 2-3 seconds. One time when I opened up Firefox (restarted a session), it played for about 5-6 seconds. I can't see any buffering taking place and there is no error message.

The same thing happens with both Windows Media Player and Quicktime. On my local dev machine it all works fine. I have tried lowering the bit rate but to no avail.

Something seems to be interrupting the operation of the media player, or is preventing buffering. You can see it happening here:

http://www.trancemusicshop.com/product_info.php?products_id=100

Any help or suggestions with this would be greatly appreciated. If javascript is required, please include some skeleton code to get me started.

Regards

Nick
0
Comment
Question by:hanuman11
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 21833306
Hi hauman11,

First of all, I cannot replicate the problem on FF3 or IE7 from my end but I also have a T1 connection here.

What I think may be going on is that the connection speed or local version of WMP is causing problems.  The connection speed is easy enough to test...if you have a fast connection and the audio still drops, then all signs point to the player.

What I would do here is forget about using QT or WMP and instead embed a Flash media player and use that to progressively download and play the audio files.  This is a good one and well documented:

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Flash is a bit more forgiving and easier to use than QT and also more cross platform than WMP.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been fiddling with (oops, I mean evaluating) media players for over a year now.  I purchased a D-Link DSM-520 about a year ago and was pleased with how many file formats It could play, but I found the user interface to be on the clunky side. …
Not everyone is tied to the Microsoft Office suite these days, as more free cloud-based solutions are entering the market. You might be used to creating presentations in PowerPoint, but did you know Google offers Slides  (https://www.google.com/slid…
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question