WP Manifestindependent plugin directory
manifest / forms / video-revealer-form

Video Revealer Form

This is a plugin for collecting email and phone numbers, and revealing a video in return.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/pasha-log/video-revealer-form/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress Video Revealer Form Plugin

Description:

Built a plugin that is a contact form that reveals a hidden unlisted YouTube video that informs realtors of Home Equity Conversion Mortgage for Home Purchase (H4P). Implemented robust security measures:

  • Client-side and server-side validation to ensure data integrity.
  • Nonce verification for enhanced form security.
  • Sanitization of input fields using sanitize functions.
  • Integrated v3 reCAPTCHA to prevent spam submissions.
  • Encrypted sensitive contact information stored in the database.

After the video is revealed, the plugin uses the YouTube Player API Reference for iframe Embeds to determine when the player reaches the end to conditionally render buttons leading to further resources.

The form can be deployed anywhere on a WordPress site using the shortcode [video_revealer_form].

LIVE DEMO

Technologies Used:

The landing page. The HTML markup is not included in this repository.


The modal containing a shortcode of the video revealer form.


The video is revealed after form submission, which programmatically reveals more resources by the end of the video. The video's featured image is partially buffed out for privacy reasons.


The settings page for the submissions, where admin can easily switch out the video link, change who receives email notifications, and see all submissions with the choice to delete any of them. Most of the information has been buffed out for privacy.