Solved

Embedded Windows Media Player Stops Playing After A Few Seconds

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
The viewer will learn how to search for and apply Apple Loops, as well as create their own in Logic Pro X. Record a region in the tracks area: Select the region: Go to File > Export > Region to Loop Library: Select the appropriate search terms…
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…

860 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