I've put together a stack of movies that I want my students to view using the script:
play videoClip "Nuclear Radiation.mov"
I imported the videos into my stack and have 11 video clips on 11 cards and all works fine.
I now need the script to do a couple other things but, being a newbe, can't figure them out. I've searched this site but haven't been able to find the answers.
1. What script will get the Quicktime controller to show? I want the students to be able to stop and rewind the video clip.
2. How can I get the video clip to quit and disappear when they go to the next card? I've attempted to use the script - stop playing videoclip "Nuclear Radiation.mov" - but it doesn't stop the clip much less get rid of it.
I've used HyperStudio for many years and did some scripting but not much. I'm sure it's simple but I cannot figure it out. Any help would be appreciated.
Thanks,
Doug Gilliland
Quicktime Player Controller
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 18
- Joined: Wed Apr 04, 2007 7:48 pm
- Location: Sarasota High School, Sarasota, FL
- Contact:
Hi gillilandd,
1. You cannot have the QuickTime controller bar when using "play videoclip xyz", sorry :-/
This is only possible when you use player objects and external files.
But you can script some buttons to stop and resume etc... INTERNAL video files, see the "play" command in the docs.:
stop vc xyz
## to stop a videoclip
## vc = abbreviation for vidoclip
play pause vc xyz
## Pause the video
play resume vc xyz
## You guess
etc..
2. Hmm, try this syntax:
...
stop vc xyz
go next cd
...
That SHOULD do the trick.
If that does not work, try this:
...
set the dontrefresh of vc xyz to false
stop vc xyz
go next cd
...
Hope that helps.
Best from germany
Klaus Major
1. You cannot have the QuickTime controller bar when using "play videoclip xyz", sorry :-/
This is only possible when you use player objects and external files.
But you can script some buttons to stop and resume etc... INTERNAL video files, see the "play" command in the docs.:
stop vc xyz
## to stop a videoclip
## vc = abbreviation for vidoclip
play pause vc xyz
## Pause the video
play resume vc xyz
## You guess
etc..
2. Hmm, try this syntax:
...
stop vc xyz
go next cd
...
That SHOULD do the trick.
If that does not work, try this:
...
set the dontrefresh of vc xyz to false
stop vc xyz
go next cd
...
Hope that helps.
Best from germany
Klaus Major