Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Hi everyone,

Would it be possible to put two videos on a page and have them play automatically one after the other. Both with sound. The document would be ONLY that page.

Following these instructions

https://ajar.freshdesk.com/support/solutions/articles/26000031222-autoplaying-audio-video-with-indesign-in5

I get the first one to play automatically without sound but the second one is not activated automatically.

Thank you very much,
in how_to by (170 points)
  

1 Answer

0 votes
 
Best answer

One way you could make both videos play sequentially and with sound on a single page would be to use a button, a multi-state object (MSO), and the in5 Video widget. The button would be set up to play the first video, the Video widget would include an end action that affects the MSO, and the video in the MSO would be set to autoplay. Here's how:

  1. Place both videos on the page.
  2. Make a button (it could be less conspicuous like a button that says "Start").
  3. Assign a Video action set to Play the video that should play first.
  4. Select the second video.
  5. Go to Window > Interactive > Object States and click the + button at the bottom of the panel to convert the select to an MSO (InDesign will duplicate the video so that there are 2 states).
  6. Select State 1 in the Object States panel and go to the Layers panel where you can twirl open the MSO to access the state and then the video that is on that state.
  7. Either replace the video with a poster image you've created separately, or use Object Export Options to convert the video to an image by doing the following:
    1. With the video selected, go to Object > Object Export Options.
    2. Select the EPUB and HTML tab.
    3. Set Preserve Appearance From Layout to Rasterize Content.
    4. Set the Format (PNG will maintain transparency).
    5. Set the Resolution to 150 for High Definition or 72 for Standard.
    6. When you export (in5 > Export HTML5 with in5...), go to the Advanced section of the export dialog and set Image Quality to Use Object Export Settings.
  8. Select the video in State 2 and go to in5 > Interactive Widgets > Video to set the following:
    1. Auto Play - selected
    2. Mute - deselected
  9. Select the video that should play first.
  10. Go to in5 > Interactive Widgets > Video and set the following:
    1. Autoplay - deselected
    2. Mute - deselected
    3. Loop - deselected
    4. End Action - Go to State and in the Select an MSO dialog that appears, select the MSO and target state that includes the 2nd video
by (29.5k points)
selected by
Muchas gracias,
You're very welcome. :)