Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marklchaves/25860698847efef76511d65ef4812bce to your computer and use it in GitHub Desktop.
Save marklchaves/25860698847efef76511d65ef4812bce to your computer and use it in GitHub Desktop.
Open a popup that dynamically loads a video based on the click open trigger using 1) data attribute or 2) a query parameter
@marklchaves
Copy link
Author

marklchaves commented Jul 13, 2022

Usage

In your post or page, add the usepopup query parameter to your video links.

https://youtu.be/mMW3pE6KSv8/?usepopup=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment