Streaming internet Media w QT and Rev Players-- Best Practice
J. Landman Gay
jacque at hyperactivesw.com
Sat Sep 16 23:57:13 EDT 2006
Sivakatirswami wrote:
> and also I found this little golden nugget hidden in the documentation,
>
> set the currentTime of player "My Player" to zero
>
> in, of all places, the docs' entry for "filename"
> ============
> Important! Setting a player's filename does not automatically update
> its currentTime property. If you play a movie file, then change the
> player's filename in order to play another, you must reset the
> currentTime to zero in order to start from the beginning of the second
> movie:
>
> set the filename of player "My Player" to "SecondMovie.mov"
> set the currentTime of player "My Player" to zero
> =========
>
> Jacqueline! Are you lurking? this needs to be copied to the QT player
> section somewhere
> I mean, I guess its obvious, but gosh, I just had to bump into it like
> that....
I lurk here a lot. :) I've just entered a bugzilla entry about it:
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=3863>
I recall now that several people have had problems loading movies for
some unknown reason, and have reported that setting a player's filename
to empty before loading in a new movie was the solution. Maybe the
reason that works is because setting the filename to empty also sets the
currentTime to empty. The nugget you found is a good one. I didn't know
it either.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list