Embedding Vimeo videos using Galaxie Blog Directives.

Note: You should insert Vimeo videos using the media interface in the post editor. However, you can also use Galaxie Blog Directives.

To embed a Vimeo video into the enclosure using a Galaxie Blog Directive, grab the video ID from Vimeo and copy and paste the URL into the Post Header editor like so:


<vimeoVideoId>343068761</vimeoVideoId>

This code snippet will initialize our Plyr and play the Vimeo video file within Galaxie Blog. Like YouTube videos, the video will be lazy-loaded and will only load once the page loads and the video is downloaded to the client.