Embedding Vimeo Video
You can embed a vimeo video using the following shortcode in a WordPress post or page:
click here to open vimeo video
You need to replace the value of “video_id” with your actual vimeo video ID. When a user clicks on the anchor text/image your vimeo video will pop up in lightbox.
Embedding YouTube Video
You can embed a YouTube video using the following shortcode in a WordPress post or page:
click here to open YouTube video
You need to replace the value of “video_id” with your actual YouTube video ID. You can also control the size of the lightbox window by customizing the width and height parameters.