Solved

Embedded Windows Media Player Stops Playing After A Few Seconds

Posted on 2008-06-18
3
718 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

First of all what is the DMCA? The DMCA is a set of laws first enacted in 1998. The Act was modified on 2000, and again on 2001, 2004, and 2007. Its goal was to update the Copyright act of 1973 for the digital age. In a world with MP3 playing cap…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…
Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now