How to autochange from video to video in Keynote

I have a 16 minutes long video. When it reaches the end, I want it to auto change to another video in my next slide and autoplay.


So I've figured out I can add a "build out" to my 16 minute video slide, and add a delay. However I can't seem to add more than a 99 seconds delay. With a 16 minutes long video I would need a 960 seconds long delay (16x60sec).


Is it really not possible to add more than a 99 sec delay?

If so, why?

Are there any other solutions in order to have an automatic transition from my 16 minutes video onto my next video slide and have it autoplay?

Posted on Dec 6, 2024 06:21 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 9, 2024 01:05 PM

It would be nice if there was an option to advance to the next slide when the video ends, but without that you're down to improvisation :)


The 'best' solution depends on a few different things


The 'easy' option may depend a lot on the nature of the video - if it's full motion, or a series of cuts.

If there's any points in the video that make sense to 'cut', you could slice the video into separate chunks and tie them together on separate slides. I'm not sure where you're seeing 99 seconds, but on my machine (MacOS 15.2, Keynote 14.2) I can set slides to automatically transition up to 600 seconds (10 minutes)... on that basis you'd only need to cut the video into two 8-minute segments, and have the second slide automatically start after 8 minutes.

This approach isn't likely to work for full-motion video (since the cut would likely be visible) but if there's any sequence in the video where you can slice it, this may be an option, even if you have to do multiple slices. They don't have to be equal sized, of course, so it depends on where the cuts in your video (if any) are.


The second option relies on the fact that the Keynote duration is largely a UI restriction - OMM I can specify a Transition with up to 600 seconds, but that limit is because of the UI, not any hard restriction (at least that I can see).

What that means is that it's possible to poke 'under the hood' to set a transition time that's longer than the UI lets you specify.


For this, I used AppleScript to directly set the delay on slide 2 of the current document to 960 seconds


tell application "Keynote"
	tell document 1
		tell its slide 2
			set its transition properties to {automatic transition:true, transition delay:960}
		end tell
	end tell
end tell


Now this slide will automatically transition after 960 seconds. I have no idea what the upper bounds of this value is (I didn't have time to test hours, but see no reason why it wouldn't work for larger values)




The downside is that you risk losing the setting any time you edit the slide, so you may have to re-apply. Fortunately it's not hard to do.

Similar questions

2 replies
Question marked as Top-ranking reply

Dec 9, 2024 01:05 PM in response to QuizmasterEndre

It would be nice if there was an option to advance to the next slide when the video ends, but without that you're down to improvisation :)


The 'best' solution depends on a few different things


The 'easy' option may depend a lot on the nature of the video - if it's full motion, or a series of cuts.

If there's any points in the video that make sense to 'cut', you could slice the video into separate chunks and tie them together on separate slides. I'm not sure where you're seeing 99 seconds, but on my machine (MacOS 15.2, Keynote 14.2) I can set slides to automatically transition up to 600 seconds (10 minutes)... on that basis you'd only need to cut the video into two 8-minute segments, and have the second slide automatically start after 8 minutes.

This approach isn't likely to work for full-motion video (since the cut would likely be visible) but if there's any sequence in the video where you can slice it, this may be an option, even if you have to do multiple slices. They don't have to be equal sized, of course, so it depends on where the cuts in your video (if any) are.


The second option relies on the fact that the Keynote duration is largely a UI restriction - OMM I can specify a Transition with up to 600 seconds, but that limit is because of the UI, not any hard restriction (at least that I can see).

What that means is that it's possible to poke 'under the hood' to set a transition time that's longer than the UI lets you specify.


For this, I used AppleScript to directly set the delay on slide 2 of the current document to 960 seconds


tell application "Keynote"
	tell document 1
		tell its slide 2
			set its transition properties to {automatic transition:true, transition delay:960}
		end tell
	end tell
end tell


Now this slide will automatically transition after 960 seconds. I have no idea what the upper bounds of this value is (I didn't have time to test hours, but see no reason why it wouldn't work for larger values)




The downside is that you risk losing the setting any time you edit the slide, so you may have to re-apply. Fortunately it's not hard to do.

Dec 11, 2024 10:06 AM in response to Camelot

Thank you so much. This was very helpful and solved my challenge.


I was not familiar with using AppleScript, but managed to figure it out (after wrongfully messing around the Terminal for a long time before realizing I was in the wrong place). Found a youtube video explaining how to set up AppleScript and copy pasted the code/commands you set up. Easy to adjust values to both slide number and seconds.


If anyone should ever have this issue, and is not familiar with AppleScript, the beginning of this video made me get a clear enough understanding for this specific purpose at least.

https://www.youtube.com/watch?v=2l2zUgNnDxU&t=210s


In terms of the 99 seconds cap I encountered: This is when I click on the video I have put in the slide, and try to add a build out from there. That gives the maximum time of 99 seconds.


However, when I click on the slide itself I can also get 600 seconds (wasn't aware of this before you told me). And with the use of AppleScript I can now get as many seconds as I want, and can easily change it around every week to suit my ever changing needs :-)

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to autochange from video to video in Keynote

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.