Skip to content

Instantly share code, notes, and snippets.

@marklchaves
Last active July 13, 2022 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 plays a video based on the click open trigger using a query parameter
@marklchaves
Copy link
Author

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