Skip to main content
Known Participant
February 2, 2025
Answered

Adobe Acrobat Pro - Video Loop Not Working in Rich Media Playback

  • February 2, 2025
  • 1 reply
  • 696 views

Hello,

I am trying to add a looping video inside an interactive PDF using Adobe Acrobat Pro 2024.1, but the loop function is not working. Here’s what I have done so far:

I exported an interactive PDF from InDesign (MP4 video embedded).
I used "Add Rich Media" in Adobe Acrobat Pro to add the video.
Playback Style is set to "Play Content in the Document" (not floating).
"Enable When: The page containing the content is visible" is selected.
Right-clicking the video does not show a loop option.
I tried adding JavaScript via "Document JavaScripts" using this code:

 

 

function loop() {
    var media = this.getAnnots({nPage: 0});
    for (var i = 0; i < media.length; i++) {
        if (media[i].type == "RichMedia") {
            media[i].media.play();
            media[i].media.loop = true;
        }
    }
}
loop();

 

 

 

Even after applying this, the video does not loop. It plays once and then stops.

💡 Questions:

  • Is there any setting in Acrobat Pro that enables video looping?
  • Is this a limitation of Acrobat, or am I missing a step?
  • Could this be a version-related issue?

I would appreciate any insights or alternative solutions. Thank you!

Correct answer AnandSri

Hello,

 

I hope you're doing well, and we apologize for the delayed response and the trouble.

 

Currently, Adobe Acrobat Pro does not offer a built-in feature to enable video looping within PDFs. The JavaScript approach you've attempted is a logical step; however, due to the constraints of Acrobat's media handling capabilities, such scripts may not achieve the desired looping effect.

 

Alternative Solutions:

 

  1. External Hosting: Host the video on an external platform (e.g., YouTube or a dedicated video hosting service) and insert a hyperlink in your PDF directing users to the looping video. This ensures that the video plays in a loop as intended on the external platform.
  2. Alternative Formats: Consider using other formats that support enhanced multimedia functionalities, such as EPUB or HTML5, which offer more robust support for interactive and looping media.

For more detailed guidance on adding multimedia elements to PDFs, you can refer to Adobe's official documentation: https://adobe.ly/4gtVPqo

 

I hope this helps, also, You can utilize the Adobe Wish form to register a request: https://adobe.ly/4hmBX9W

 

Thanks,

Anand Sri.

1 reply

AnandSri
Community Manager
AnandSriCommunity ManagerCorrect answer
Community Manager
February 6, 2025

Hello,

 

I hope you're doing well, and we apologize for the delayed response and the trouble.

 

Currently, Adobe Acrobat Pro does not offer a built-in feature to enable video looping within PDFs. The JavaScript approach you've attempted is a logical step; however, due to the constraints of Acrobat's media handling capabilities, such scripts may not achieve the desired looping effect.

 

Alternative Solutions:

 

  1. External Hosting: Host the video on an external platform (e.g., YouTube or a dedicated video hosting service) and insert a hyperlink in your PDF directing users to the looping video. This ensures that the video plays in a loop as intended on the external platform.
  2. Alternative Formats: Consider using other formats that support enhanced multimedia functionalities, such as EPUB or HTML5, which offer more robust support for interactive and looping media.

For more detailed guidance on adding multimedia elements to PDFs, you can refer to Adobe's official documentation: https://adobe.ly/4gtVPqo

 

I hope this helps, also, You can utilize the Adobe Wish form to register a request: https://adobe.ly/4hmBX9W

 

Thanks,

Anand Sri.