quicktime plays 1/2 off window in osx standalone ONLY
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
quicktime plays 1/2 off window in osx standalone ONLY
Trying to embed quicktime with some tutorial stacks. Do not want to use dragable, player or external source. Made a button that when clicked runs a simple script "play audioClip 'xxx.mov'" and works fine in Mac development and PC development and pc standalone, but NOT in OSX standalone.
on after the movie plays 1/2 off screen the first time and finishes, reclicking the button will run the vedio fine, centered if no loc has been included in the script.
on after the movie plays 1/2 off screen the first time and finishes, reclicking the button will run the vedio fine, centered if no loc has been included in the script.
HIKER545,
What happens if you replace "audioClip" with "videoClip" in your script? If that doesn't help, it might be useful if you posted your entire script here.
Best regards,,
Mark
What happens if you replace "audioClip" with "videoClip" in your script? If that doesn't help, it might be useful if you posted your entire script here.
Best regards,,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
thanks for the reply Mark
Wow I botched that post. The script was with play vedioClip not audioClip--as I was posting a class of 24 first graders quite unexpectedly arrived before I could edit it, sorry.
Using revolution studio 2.7.4 on an HP tablet with XP operating system
I made a single stack, with a single card. On that card I placed a button. I imported in as a control a video file named "test.mov" The test.mov file was made on a Mac running OSX version 4.5 and brought over to the HP
I added a very simple script to the button as follows:
on mouseUp
play videoClip "test.mov"
end mouseUp
no other objects or scripts were added to this test stack at this time.
while in the development stack I stwich to the browse mode and the
script worked fine--placing the video in the center of the window.
I saved it as a standalone for Windows and Mac X
the standalone for the window platform worked fine
the standalone for the mac X platform put only about 1/2-1/4 of the
video image in the top left hand of the window. After the clip played thru once, I clicked the button and it ran fine in the middle of the window. Seems only the first run after opening the standalone is messed up.
I then remade the same test stack and script on a Mac running X.4.5
the standalones worked the same--fine on the windows platform and
1/2-1/4 on screen in the top left hand of window. for mac x platform on first run, and fine after that.
I tried adding a location to the script like
on mouseUp
play videoClip "test.mov" at 200, 200
end moueUp
This did effect the video placement but not on the first run on the Mac X standalone.
I then tried the original script with a diff movie clip--the intro clip from imovie thinking maybe it was an error related to the video file. Still got the same results
I am a weak coder, no real training just learning as I go, so I apprciate the help.
Using revolution studio 2.7.4 on an HP tablet with XP operating system
I made a single stack, with a single card. On that card I placed a button. I imported in as a control a video file named "test.mov" The test.mov file was made on a Mac running OSX version 4.5 and brought over to the HP
I added a very simple script to the button as follows:
on mouseUp
play videoClip "test.mov"
end mouseUp
no other objects or scripts were added to this test stack at this time.
while in the development stack I stwich to the browse mode and the
script worked fine--placing the video in the center of the window.
I saved it as a standalone for Windows and Mac X
the standalone for the window platform worked fine
the standalone for the mac X platform put only about 1/2-1/4 of the
video image in the top left hand of the window. After the clip played thru once, I clicked the button and it ran fine in the middle of the window. Seems only the first run after opening the standalone is messed up.
I then remade the same test stack and script on a Mac running X.4.5
the standalones worked the same--fine on the windows platform and
1/2-1/4 on screen in the top left hand of window. for mac x platform on first run, and fine after that.
I tried adding a location to the script like
on mouseUp
play videoClip "test.mov" at 200, 200
end moueUp
This did effect the video placement but not on the first run on the Mac X standalone.
I then tried the original script with a diff movie clip--the intro clip from imovie thinking maybe it was an error related to the video file. Still got the same results
I am a weak coder, no real training just learning as I go, so I apprciate the help.
STILL STUCK
STILL NOT ABLE TO FIGURE WHY IT WORKS IN BOTH MAC AND XP DEVELOPMENT AND MAC STANDALONE BUT NOT IN XP STANDALONE
-
- Livecode Opensource Backer
Re: STILL STUCK
Could it be an issue with the path, the fact that what you use as file path is "test.mov" and that it doesn't know where to find it from within the XP standalone? (though another of your post mentions "but NOT in OSX standalone.").HIKER545 wrote:STILL NOT ABLE TO FIGURE WHY IT WORKS IN BOTH MAC AND XP DEVELOPMENT AND MAC STANDALONE BUT NOT IN XP STANDALONE
What and where do you teach, btw?
Marielle