Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 6:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Page change linked to video end?
PostPosted: February 15th, 2005, 4:55 pm 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
I'm using a short video file of water drips on water as a background to my presentation. The video runs on a loop as a constant background. At the end of the video the ripples subside and the background appears smooth, just like at the beginning of the video...

if you've got that.. I'll continue!

The page is to be changed on a button press and I'd like it to wait until the smooth bit of the video is showing before changing slide so that the transition is smoother... as the video starts from the beginning again on the next page.

Is it possible to do this? I was thinking I need to add a variable that gets set by the video reaching the end "synchronise to end" trigger on the video?

and code on the page for the button press saying - if variable = true then go to next page... ?

I'm not a coder - help - please?!? I tried what I thought would work but with no joy!


For this message Craig Gilman has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: February 15th, 2005, 5:32 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

The following procedure should allow you to create the desired effect:

- Create two blank new pages, then double-click on Page 1 in the Organiser pane to open it for editing
- Select the Video tool and draw your video object to the required size and position
- In the Video Properties, set the Video to play once (we'll loop the video using actions later on) and to start automatically
- Click Apply and OK to confirm the changes
- Now add a Button to the page
- In the Button Actions, apply a Set Variable action
- Click New to create a new variable named 'continue' and give it an initial number value of zero. Click OK to confirm the change
- Edit the Set Variable action to set this 'continue' variable to 1
- Click Apply and OK to confirm the changes
- Now right-click on the Video object and select Edit Actions
- Apply a Synchronise to End trigger and select the Video object in the list shown. Click Apply to confirm the selected object
- Apply an If statement which checks to see if 'continue' is equal to 1
- Apply a Go To Page action which takes the user to Page 2
- Now highlight the If statement you applied earlier
- Apply an Else condition
- Apply a Play Video action, select the appropriate video object to play and enable the Start option
- The action list should look like the following:

Image

- Click Apply and OK to confirm the changes
- Preview the publication. The video should loop continuously, but when you click on the button, the publication will wait for the video to finish before advancing to the next page.

I hope this helps. Please do not hesitate to contact me if you have any further queries.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


For this message Robin Garrett has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: MANY THANKS EXCELLENT SUPPORT
PostPosted: February 15th, 2005, 5:52 pm 
Offline

Joined: November 19th, 2004, 1:36 pm
Posts: 178
Location: Birmingham
Thanks for your prompt reply Robin - I couldn't work out that I should have the set variable on the button or keyboard trigger, rather than at the end of the video!

It's so simple when you get the right structure!

Thanks again..

Craig :D :D


For this message Craig Gilman has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 62 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group