These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Stopping a video when clicking to the next page

thew
Registered: Jun 27 2007
Posts: 2

First post, great board from what I have seen so far.
Im attempting to get a video to stop when I click a next button, I have created in Java. For some reasons when I click from the Video page to the next page the audio can still be heard. Not sure if I need to make a video button or insert a Java script in the next button.. Any advice.
Thanks
Matt

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
Sounds like you have to add use of the Media object's "stop" method. It could be added to your "Next" button, but that would not stop the player if one used the space bar or the Page Up or Page Down keys. I would suggest you add this method to the "Page Close" action. In this manner no matter how the user navigates to another page or closes the PDF the Media object form continuing to play.

George Kaiser