Quicktime player only works in mac but not in windows.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sUp3r_X17
Posts: 5
Joined: Fri Feb 27, 2009 3:42 am

Quicktime player only works in mac but not in windows.

Post by sUp3r_X17 » Fri Feb 27, 2009 3:53 am

Hi, I'm a new user of revolution and I need some help. Right now I'm working on a dynamic digital map and I need help regarding the quicktime player. After creating the standalone, the player (playing a video) works ok in macs, but in windows I just get a blank stack without the player. What can I do so I can use the player in windows too? the videos are in the disk if that matters. Thanks.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Fri Feb 27, 2009 9:24 am

Hi sUp3r_X17 (what a name!)

does this video play in QuickTime Player on Windows?

Is QT really installed on the target machine?
You can check this with a script, see "QTversion()" in the docs.

Did you check the path to the video on windows?
Maybe the path to the video file is not correct?


Best

Klaus

sUp3r_X17
Posts: 5
Joined: Fri Feb 27, 2009 3:42 am

Post by sUp3r_X17 » Sat Feb 28, 2009 1:03 am

Hi, yes, the video plays in quicktime on windows. However, when I open the standalone I don't even see the qt player.

I put the video files on the same folder that my application is. Is it possible that a wrong path still shows the player on mac but not on pc?? thanks.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Sat Feb 28, 2009 12:13 pm

Could you please post the relevant part(s) of your script(s) that set the filename of the player object?

sUp3r_X17
Posts: 5
Joined: Fri Feb 27, 2009 3:42 am

Post by sUp3r_X17 » Wed Apr 01, 2009 10:31 pm

Hi, sorry for the laaaaaattteeeee reply. I was very busy with other parts of my project. Anyways, I don't have a script because all I did was to drag and drop the quicktime player button into the stack. Then I just told the program where to find the video file, which by the way, is on the same folder as the main program is. Sorry if this sounds confusing, I will try to upload a screencap.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Thu Apr 02, 2009 6:41 pm

Hi sUp3r_X17,

AHA!

Well in the stack the Mac path to the movie has been saved and on windows
there is no file in that path (actually nothing in the path at all :-))

Example Mac filepath to a movie:
/Users/klaus/Movies/Diverse Moovies/demoreel2004.mov

That path does not exist on Windows, that's the problem.

When you set the filename with the appropriate button in the Inspector
for the player then the absolute path (like the one above) is set and that
does not work on Windows.

Workaround: Use a RELATIVE path

Best

Klaus

sUp3r_X17
Posts: 5
Joined: Fri Feb 27, 2009 3:42 am

Post by sUp3r_X17 » Thu Apr 02, 2009 8:22 pm

Hi,
Ok, now it makes sense. Could you please give me an example on how to put a relative path instead of the absolute path? I need to finish this standalone in one dvd so I need it to work in both pc and mac. Thanks a lot :D

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Tue Apr 07, 2009 5:24 pm

Hi sUp3r_X17,

sorry for being back so late, was (and still am, actually) very sick...

OK, relative means "relative to the stack" where you need it.

Example:
FolderA:
your_stack.rev
a movie.mov

Now in stack "your_stack.rev" if you only enter "a movie.mov" into the filename of the player then the movie will be found and displayed on any platform.

Same applies for referenced images and sonunds of course!

Same if you have a subfolder with all your media like sounds movies images:

FolderA:
your_stack.rev
subfolder_media
a movie.mov

Now you can enter (or set by script) "subfolder_media/a movie.mov" into the filename of the palyer and it will work.

You get the picture?


Best from germany

Klaus

P.S.
A special case might be a Mac OS X standalone, since these are folders actually:
Name of your standalone.app/Contents/MacOS/Name_of_stack_that_turned_to_the_standalone

At least when you have your subfolder with media INSIDE of the app bundle!

sUp3r_X17
Posts: 5
Joined: Fri Feb 27, 2009 3:42 am

Post by sUp3r_X17 » Tue Apr 07, 2009 6:03 pm

Ok, thanks a lot! I will try that, I'll let you know if it works. Hope you get well.

Post Reply