video
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
video
i have made a stack with one player object and set the path to the movie. When I create it into a standalone and execute it in another computer, the player doesn't show up even with the quicktime player already installed. Why is this so and how to go about this?
Thanks in advance.
Thanks in advance.
Re: video
Hi pmc,
could you post the relevant code? How did you set the player to the file, did you hard-code it into the the filename of the player. What is the other computer's operating system, and what is your computer's operating system. Where is the movie? Did you enclose it in the standalone?
Lot of questions.
Kind reagards
Bernd
could you post the relevant code? How did you set the player to the file, did you hard-code it into the the filename of the player. What is the other computer's operating system, and what is your computer's operating system. Where is the movie? Did you enclose it in the standalone?
Lot of questions.
Kind reagards
Bernd
Re: video
There's no code for the player. All I did is drag it into the card and set the path using 'property inspector'. Please see attached image. Path is set to C:/Users/desktop/project/ChoongYangJin/... I have a file exactly the same at the other computer. Both computers are running MS vista business.
The problem is that on the other computer, the player on the card is not even there. It is just an empty box. Both computers are set to use quicktime as the default player.
Thanks
PMC
The problem is that on the other computer, the player on the card is not even there. It is just an empty box. Both computers are set to use quicktime as the default player.
Thanks
PMC
Re: video
attached is the image. FYI, once I clicked on the radio button "Balance" on card "Frequent Pair Letters", it will open card "Balance" from Stack "Movies". The "stop"and "play" button is to stop and play the movie, obviously, and "close"is to close the card.
Do I need to link the QuickTime player to the Player object itself?
What would be a better way to play movies?
Thanks
Do I need to link the QuickTime player to the Player object itself?
What would be a better way to play movies?
Thanks
- Attachments
-
- Capture.GIF (95.92 KiB) Viewed 9329 times
Re: video
OK...I got it, the link was wrong. Another question....the card seems to load very slow....how to I make it load faster?
I have a code on the "Movies" stack:
on preopenStack
load "OTVersion 7.6.9"
end preopenStack
It is still taking 4-5 seconds to load.
I have a code on the "Movies" stack:
on preopenStack
load "OTVersion 7.6.9"
end preopenStack
It is still taking 4-5 seconds to load.
Re: video
Hi PMC,
if you put in an openstack handler
this will load Quicktime at the start. See the dictionary.
from the dictionary
Kind regards
Bernd
if you put in an openstack handler
Code: Select all
get qtVersion()
from the dictionary
this should speed up the time it takes to play a video. That should be almost instantaneous.Tip: It can take LiveCode a second or two to load the code needed to use QuickTime, depending on the machine speed. Since this code is only loaded into memory once per session, you can speed up the first occurrence of a QuickTime-related action by calling the qtVersion function during otherwise dead time--for example, during startup of your application--to preload the code.
Kind regards
Bernd
Re: video
Hi PMC,
since you want it to happen when the stack starts I would put it into a openstack handler in the stack script of the first stack that opens. It just makes shure that QT is loaded. It needs to do it only once. It loads Quicktime on the host machine.
Kind regards
Bernd
since you want it to happen when the stack starts I would put it into a openstack handler in the stack script of the first stack that opens. It just makes shure that QT is loaded. It needs to do it only once. It loads Quicktime on the host machine.
Kind regards
Bernd
Re: video
Hi Choong,
Please do yourself a favour and look up everything in the docs/Rev Dictionary
if you are not sure what it means!
-> "load" will load something from the internet!
So your handler will try to load the internet url "OTVersion 7.6.9" which does not exist of course!
-> "qtversion" is a function, that will return the currently installed version of QuickTime!
You cannot load a specific version of QuickTime, you must use what is present!
So put this somewehre in the "openstack" handler of your mainstack:
...
get qtversion()
...
Best
Klaus
Code: Select all
on preopenStack
load "OTVersion 7.6.9"
end preopenStack
if you are not sure what it means!
-> "load" will load something from the internet!
So your handler will try to load the internet url "OTVersion 7.6.9" which does not exist of course!
-> "qtversion" is a function, that will return the currently installed version of QuickTime!
You cannot load a specific version of QuickTime, you must use what is present!

So put this somewehre in the "openstack" handler of your mainstack:
...
get qtversion()
...
Best
Klaus
Re: video
Hi Choong,
I just made a quick test on Windows XP and I had no problems with
loading time and controlling the volume with the QuickTime controller.
What format is your movie?
Best
Klaus
I just made a quick test on Windows XP and I had no problems with
loading time and controlling the volume with the QuickTime controller.
What format is your movie?
Best
Klaus
Re: video
The format is mpeg 1. Actually, originally they are .flv format ripped from youtube. I use a converter to convert them to mpeg1 as these are the files that can be play on QT.
The slider blinks when clicked on and it's impossible to grab the knob of the slider.
Thanks
The slider blinks when clicked on and it's impossible to grab the knob of the slider.
Thanks
Re: video
Hi Choong,
no problem here with an MPEG 1 video file!
Can you send me your stack and I will take a look?
Best
Klaus
no problem here with an MPEG 1 video file!
Can you send me your stack and I will take a look?
Best
Klaus