Player stops from time to time

vph - June 10, 2006 - 17:34
Project:Audio
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

One annoying problem that I have experienced with this module is that the player sometime stops in the middle. This means that we have to replay the audio file from the beginning. any ideas? Thanks.

#1

Scott - June 11, 2006 - 20:51

This happens sometimes to my users who have slow dial-up connections, where the flash player doesn't download and buffer the data fast enough to keep up with the audio. If your mp3's have a bitrate higher than 32k, your dialup users should probably use the download link instead of the streaming player.

There is a "slim" version of the XSPF flash player with a pause/resume button that might work better than the one included with the audio module. (http://musicplayer.sourceforge.net) With a slow connection, you can pause the player for a minute or two to give the buffering a headstart, and then resume playing without a hitch -- assuming the bitrate of the mp3 is at or below the bitrate of the dialup connection. Dialup connection speeds vary depending on many conditions -- usually somewhere between 24k and 48k.

I use an alternative flash player that has both a pause button and an audio index slider that lets you start from any point in the audio -- www.wimpyplayer.com -- it's not free software, and I had to hack the module to work with it, but it does work.

Anyway, if you have a dialup connection, then this is probably not a bug in the audio module, and I would change it to a feature request for a better flash player and/or the ability to include an alternative, low-bandwidth mp3 for dialup users.

#2

vph - July 4, 2006 - 16:59

The "button" player (included with audio.module) is very bad. I consistently get "hiccups" (stops in the middle of songs). And its definitely not because we have a slow network.

What I have to do is modify the module to use Windows Media player instead of the default swf player. I hope the author of this module finds a better player.

#3

drewish - July 4, 2006 - 18:32

What I have to do is modify the module to use Windows Media player instead of the default swf player. I hope the author of this module finds a better player.

well, if you don't like it you're welcome to submit patches or find a better free player. complaining about it doesn't help anyone.

#4

vph - July 4, 2006 - 20:18

sorry, i thought I was giving feedbacks.

#5

drewish - July 5, 2006 - 17:51

vph, sorry, i guess i hadn't had my coffee. maybe you could post a patch with the changes you made to use windows media player. i'm sure some other people would find that useful.

#6

pvd02 - August 27, 2006 - 09:55

This has absolutely nothing to do with the player. See my post at the end of this thread: http://drupal.org/node/61624

#7

drewish - September 23, 2006 - 19:24

#8

drewish - November 17, 2006 - 23:55
Status:active» fixed

i've added code to 4.7 that should close this for good.

#9

pnelson - November 18, 2006 - 01:32

I downloaded the audio module audio-4.7.x-1.x.tar.gz dated 15/11/2006 but my streams are still stopping. Is there anything else I can do to fix this? -- Thanks

#10

drewish - November 18, 2006 - 02:47

the packages are built ever 8 hours. that looks like an old one since i just checked in the code today. give it a few hours and check again.

#11

pnelson - November 22, 2006 - 15:59

Thanks... that fixed it. As someone who uses Drupal but does not have the skill to contirbute, thank you for your work. I use the audio module for school podcasts and we're now using it to deliver textbook passages for low readers via podcasting to iPods and over the web.

;-) Paul

#12

Anonymous - December 6, 2006 - 16:02
Status:fixed» closed

#13

pnelson - January 26, 2007 - 19:02

It's back... Now all podcasts on my Drupal 4.7.5 are stopping at random times. This is the same behavior I saw before. I tried downloading the most current (January 18, 2007 - 04:01) audio module but it still stops mid-stream.

I have several Drupal sites and they are all running 4.7.5. Last November I updated the drupal module to audio.module,v 1.51.2.38 2006/11/17 23:52:33 and the problem stopped. Now it's back.

One of my Drupal servers is on a different server on another network and it seems to work fine.

This site plays the file without stopping: http://k12os.org/?q=node/27

This site plays the file and stops: http://edtech.nwresd.org/?q=node/42

They are both running 4.7.5 and audio.module,v 1.51.2.38 2006/11/17 23:52:33.

Is there something else I should be looking at?

Thanks for any help offered...

#14

pnelson - January 26, 2007 - 22:19

Correction, the player that seems to be working with 4.7.5 is actually an older version,
Id: audio.module,v 1.58 2006/06/27 08:14:03

Now I'm even more confused. At least it's Friday! ;-)

#15

vph - January 26, 2007 - 22:20

hello, I "insisted" this problem hadn't been fixed... but . :)

Anyway, I found a way to "fix" this. Replace the default player with the "slim" version. You can control the width if it's too wide. Do this in audio.theme

I speculated that the problem was with the player not server, configruation....

#16

pnelson - January 26, 2007 - 22:47

I swapped in the old module from the working server on the other network and it too, stops during playback. That tells me the problem is most likely somewhere else. I post any other clues I find.

;-) Paul

#17

pnelson - January 27, 2007 - 06:08

I tried the audio player for 5.0 on my homepc running 5.0 and the player stops on these too. I did download the slim flash player and renamed it mp3.swf and it seem to play OK. I think it must be the player. I notice on http://musicplayer.sourceforge.net/ that the button version of the player is still at 0.1 while the slim and extended are at 0.2.3.

I did notice that the button player did play a mono mp3 file I had on my 5.0 server without stopping. There must be some issues with different encoding properties.

So now I'm off to find a nice smaller player.

#18

kylebrowning - November 3, 2009 - 17:37
Status:closed» active

this is still a problem in 6.x

 
 

Drupal is a registered trademark of Dries Buytaert.