Using iframes - linked video asks always open in new page

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 answer by Grace 1 August 2022, 10:02

View original

3 replies

Userlevel 7
Badge +5

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! 


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).

Userlevel 7
Badge +5

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!