Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Controlling an iframe embedded YouTube video with an interactive button?

Return to Member Forum

  • Author
    Posts
    • #97067
      Jake Wilson
      Member

      Hey there!

      This might not be possible, but I wanted to see if anyone knew of a secret way to do this…Here is an example of what I’m setting up:

      https://indd.adobe.com/view/c5d89fc0-bafd-46d9-93a2-140a4dfc92f6

      Currently, if the viewer clicks on a video to play it, they have to click it again in order to pause it. It will continue playing if they scroll through with the arrow buttons or the “X” button, so I wish there was a way to give those buttons the ability to stop the video as well. This is definitely doable when the video is directly embedded, so I might just have to do that in order for this to work. But I wanted to ask, can you think of any workaround that would enable me to pause these iframe-embedded videos with these arrow buttons and “X” button I have set up? …maybe some potential code I could add…I know that is getting complex tho… Thank you! I’m using Publish Online btw.

      Jake

    • #14387859
      Marc Dunker
      Member

      Jake, I know this is five years old, but have you found a way to do this? I’m unable to see your link, but I think we’re trying to accomplish something similar. I have a hidden button that includes the iframe and a button to activate a “modal window” with the iframe showing. The only thing I can think of is to add some JS/JQuery to the iframe, but I’m not sure of the code to do so.

Viewing 1 reply thread
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads