WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Youtube return from

[Resolved] Youtube return from

  • danielp111
    Member

    @danielp111

    Could someone tell me how, when viewing a linked to Youtube video, arrange for an automatic return to the WordPress site at the completion of the video.
    Thanks

Viewing 1 replies (of 1 total)
  • Dandy Plow
    Member

    @dandy-plow

    If you think about it, if they leave your site to go to Youtube, and you still have control of their browser to force them back after the video has ended, you’ve basically created a virus. Once they’ve left your site, you lose control. You can’t tell youtube what to do.

    That said, you could, of course, simply embed the youtube video on your site so that they watch it without leaving,

    or you could use an iframe to imitate them leaving your site for youtube while they actually stay on it. You wouldn’t be able to truly have it redirect once the video ends, but you could set a timer for redirection that is the same as the length of the video.

    But really, what are the chances that someone is going to visit your site, click the link to the youtube video, sit and watch it for the full length, and then be glad that they’re automatically forced back to your site?

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Youtube return from’ is closed to new replies.