Created landing page w/ video. How do I redirect to new landing page after viewed? | Community
Skip to main content
June 23, 2014
Question

Created landing page w/ video. How do I redirect to new landing page after viewed?

  • June 23, 2014
  • 3 replies
  • 1084 views
I created a landing page with embedded YouTube video in it. Once the has vinished finished playing, I'd like to redirect to another landing page. How do I do this?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Dory_Viscoglio
Level 10
June 23, 2014
Susie, without writing code I don't think this would be possible if you don't ask the viewer to do something (like click). It might be possible for you to use java to redirect the page after the same amount of time that the video takes to play.

Even if you were able to do that, I might ask why you aren't having them click through if they've already taken the time to watch your video. I don't think I'd expect to be taken to another page automatically after viewing a video, so it might not be the best user experience.
June 23, 2014
You would have to implement custom JavaScript to accomplish this.  You would use YouTube's iframe API, and check for the video's state (not played, playing, finished):
https://developers.google.com/youtube/iframe_api_reference

When the player reaches the desired state, you can redirect the page: 
http://stackoverflow.com/questions/503093/how-can-i-make-a-redirect-page-in-jquery-javascript

Do you have the technical resources to accomplish this?
January 19, 2015
Late to the party here. I'm with a LaunchPoint partner (Vidyard) that has this funcitonality out of the box available on any YouTube asset that isn't restricted to private.

Susie - happy to hop on a quick setup call if this is still relevant! ianhutch@vidyard.com

Ian