Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Open a popup that plays a video based on the click open trigger using 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

See the live demo.

https://streetphotography.blog/launch-video-popups-using-click-open-triggers/#launch-different-videos-but-use-the-same-popup

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