Title: AUTO PAGE LOAD
Last modified: October 21, 2021

---

# AUTO PAGE LOAD

 *  [fbazuaye](https://wordpress.org/support/users/fbazuaye/)
 * (@fbazuaye)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/auto-page-load/)
 * Hello
    Iam trying to develop a site . After registeration users are redircted
   to another page with a video backgorund. Uppon clicking a start button the videobackground
   will play for about 30sec or more.Once the video finishes another page will automatically
   load. Please i need help setting this up on my wordpress site.
 * See user flow
 * [https://www.figma.com/file/YDmlwlYIjqwNZWHchHucwk/Low-Fidelity–user-flow-Diagram–3D-Auditorium-for-live-streaming?node-id=0%3A1](https://www.figma.com/file/YDmlwlYIjqwNZWHchHucwk/Low-Fidelity–user-flow-Diagram–3D-Auditorium-for-live-streaming?node-id=0%3A1)
    -  This topic was modified 4 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/auto-page-load/#post-14999336)
 * After registration, users are emailed a link to follow to set their password,
   so there is no immediate opportunity to redirect upon registration. You’ll have
   to wait until they login with their new password. The problem is there is no 
   reliable way to distinguish new user logins from return users. You can create
   a way by hooking “register_new_user” action and saving a custom user meta value
   that is checked after login. This can be checked within the “login_redirect” 
   filter you would use to redirect new logins to the video page.
 * To redirect after the video plays would involve JavaScript of some sort. Exactly
   how depends on the video player used. There are often events fired by the player
   that your JS can listen for.
 * When the final page is reached after the video plays, the user meta value we 
   set upon registration should be cleared if it hasn’t been done previously.
 *  [Phill](https://wordpress.org/support/users/phillsav/)
 * (@phillsav)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/auto-page-load/#post-14999352)
 * I’ll help you with some code for the first stage of the flow:
 *     ```
       function custom_registration_redirect() {
           return home_url( '/your-new-page' );
       }
   
       add_filter( 'registration_redirect', 'custom_registration_redirect' );
       ```
   
 * This will redirect your users to the page of your choice (currently ‘/your-new-
   page’)
 * Add to functions.php or create as a plugin. Tested and works!
    -  This reply was modified 4 years, 6 months ago by [Phill](https://wordpress.org/support/users/phillsav/).
      Reason: Edited typo
 *  Thread Starter [fbazuaye](https://wordpress.org/support/users/fbazuaye/)
 * (@fbazuaye)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/auto-page-load/#post-14999365)
 * Thanks for the replies
    But this is a wordpress site built with Elementor. can
   these be achieved with plugins? instead of code? Rgds Frank Bazuaye

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘AUTO PAGE LOAD’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [fbazuaye](https://wordpress.org/support/users/fbazuaye/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/auto-page-load/#post-14999365)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
