Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Feb 02, 2025 Feb 02, 2025

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!

TOPICS
Modern Acrobat , PDF , Rich media and 3D
579
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Adobe Employee ,
Feb 06, 2025 Feb 06, 2025
LATEST

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.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 06, 2025 Feb 06, 2025
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines