Using iframes - linked video asks always open in new page | Community
Skip to main content
Answered

Using iframes - linked video asks always open in new page


Stephane Alberth

Hi all,

Quick question that I need to finalise my POC here. I am wanting to implement Videoask within my webpage, but as I need to go from one video ask to another (longer, more complex interraction), I need the video asks to open in the same iframe. 

 

Normally by default this should happen, but here I see the video ask ALWAYS opens completely replacing the page it was originally embedded into. 


Can anyone help? Is this linked to how Video Ask has coded the link? or am i missing something?

I am simply using the iframe code generated by video ask.

 

Best,
Stephan​

Best answer by Grace

Hey @Stephane Alberth great question! 😁

When you embed the first videoask, if you add ?redirect_target=self to the end of the videoask URL in the code it should then redirect from the first videoask to the second within the iframe embed, rather than opening a new tab.

Let us know if that works for you, or if you need any more help! 

 
View original

Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • August 1, 2022

Hey @Stephane Alberth great question! 😁

When you embed the first videoask, if you add ?redirect_target=self to the end of the videoask URL in the code it should then redirect from the first videoask to the second within the iframe embed, rather than opening a new tab.

Let us know if that works for you, or if you need any more help! 

 

Stephane Alberth

Oh my god! That was WAYYY simpler than I was expecting… I scoured the web for hours trying to change the iframe itself;)

Worked a charm. Thanks so much (as you may have guessed, I am not a software developer, so I really appreciate the help that much more).


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • August 2, 2022

Hey @Stephane Alberth so glad that worked for you and it was nice and easy! 🙌

Let us know if there’s anything else we can help with!


Reply