AW: newbie video player questions

eddie d nieuwsgroeps at wanadoo.nl
Fri Jun 8 08:19:59 EDT 2007


hello tiemo
thanks for the quick reply.
the script is in the card of each player. there is no button on the 
card. just the onmouse command.
but somehow I just seem to have solved this problem by using a 
specific card number with' go card' and not 'next'.
now it goes to the specified card after playing. (I'll try to find 
how to use random numbers in the manual).
so now I need to figure out how to let it go to a certain substack on 
a specific time.
I thought I make a subtack for 'morning' one for 'afternoon' and one 
for 'evening' and in each stack are a number of cards with a 
videoplayer
any idea on how to do this?

eddie d


>Hi d,
>where did you put your scripts? The playstopped message is sent to the
>player - and will be forwarded to the card and stack - but not to any button
>(I think). So try to put the playstopped handler into the card script.
>Remember to    set the currenttime of player "avond" to zero before you
>start.
>Tiemo
>
>
>
>hello all,
>for severalweeks I am trying to move my video installations from 
>Amiga with Director (yes I know but it worked well up till now but 
>the old machine are starting to fall apart) to Mac (mini) using 
>Revolution.
>I know nothing about programming and very little about scripts.
>basically all I need is for a video to start when someone uses a 
>button or triggers a sensor and I got that to work for some of the 
>works.
>but one installation is more difficult I find out.
>this one needs to play a short (1 sec.) video, according to time of 
>day ( a greeting, taken from television footage) and then randomly 
>select a different video and wait for someone to step on the contact 
>mat an play the next greeting. (see here for what I mean http://
>eddied.nu/html/welkom.html )
>I tried the script below (I didnt even get to the time of day part 
>because I don't know how to do that yet)
>but after playing the first videoclip it just keeps flipping between 
>the next clips. I get a feeling what is wrong but I don't know how to 
>fix it. ( I gues it just goes to the 'go next card' part without 
>waiting for the play command)
>
>
>on mouseUp
>    start player "avond"
>end mouseUp
>
>    on playStopped
>        go next card
>end playStopped
>
>I tried using peopencard and playpause but that didn't do anything.
>
>
>can anyone help me here?
>regards
>eddie
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list