?
Solved

Embedded Windows Media Player Stops Playing After A Few Seconds

Posted on 2008-06-18
3
Medium Priority
?
737 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
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…
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 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…

718 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