Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Embedded Windows Media Player Stops Playing After A Few Seconds

Posted on 2008-06-18
3
Medium Priority
?
740 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…
Suggested Courses

916 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