The QT player in a standalone

Sarah Reichelt sarah.reichelt at gmail.com
Thu May 4 20:14:08 EDT 2006


On 5/5/06, Dr. Robert E. Ball <reball at redshift.com> wrote:
> I am unable to successfully develop a standalone (on a Mac with OS 10.4.6
> using Rev 2.7.1) from a stack containing a QT player. The stack works fine
> in the IDE and properly plays the video. No problems. However, when I try to
> build a standalone, no matter where I put the external QT file, with the
> appropriate location given in the Copy Files in the Standalone Application
> Settings, the standalone builder either does not attach the file as part of
> the application package, or even when it occasionally does attach it, the
> app doesn't play it. (I couldn't make a standalone that worked correctly in
> 2.5.1 either.) I can't find any information/tutorial on how to do this
> correctly.


I did a test using a button to locate the movie file as follows:
    answer file "Select a movie file:"
    put it into tFile
    if tFile is not empty then set the filename of player "Player" to tFile

This worked perfectly in Rev 2.7.1 with Mac OS X 10.4.6, so I suspect
it is a file path problem and your app is not pointing to the correct
movie file.

For testing, I suggest you try two things:
1. add a button that just reports the filename of the player object so
that you can see exactly where it thinks the file should be.
2. add another button that does what my test script does. That way you
will be able to confirm that the player object does what you want.

HTH,
Sarah



More information about the use-livecode mailing list