Player doesn't play complete file

Klaus Major klaus at major-k.de
Fri Jun 4 12:06:19 EDT 2004


Hi Devin,

> Forgive me if this is has already been discussed; I don't remember 
> reading about it.
>
> Recipe:
> 1. Create a player object.
> 2. Set the fileName prop to a URL with a QT compatible audio format. 
> In this case I used 
> "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav".
> 3. Play the sound.
>
> The sound file appears not to download fully. The download indicator 
> in the controller bar does not fill completely, and the sound plays to 
> the point indicated as having downloaded, then stops. This happens 
> consistently, even if I reload. Setting the alwaysBuffer prop to true 
> or false makes no difference.

Works here for me...

RR 2.2, X 10.3.4, QT 6.5.1, 1 GHZ G4

> If I use
>   play URl "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav"
> it works perfectly, but of course if I do this I'm limited to using 
> only uncompressed audio.

This one was new to me, cool :-)

> Has anyone else encountered this apparent problem with player objects?

No sorry, works here...


Possible workarounds:

1. Download that file ->
...
load url "http://www.auburn.edu/forlang/russian/audio/norvegiya.wav"
...

to a temp file first and set the filename to that file after the load 
has completed...


2. Use Trevor's wonderful QT external:

http://www.mangomultimedia.com/developer/revolution/

It lets you even monitor the progress of the QT download, which is not 
possible in RR...

> (Rev 2.2. Mac OS X 10.3.4, DP G5)
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list