It is trivial to embed a video in your blog post from Vimeo using Galaxie Blog.
Simply grab the video Id from Vimeo, and copy and paste the id into the vimeo video xml post directive like so:
This snippet of code will initialize our Plyr and it will play the vimeo video file within Galaxie Blog. The video will be lazy loaded, and will only load once the page loads and the video is downloaded to the client.
As with all Galaxie Blog video's, the video will automatically play when your looking at an individual post, and requires the user to click on the play button when your looking at the post from the main blog page. You can easily change this behavior by editing the code, or by making a suggestion here.
Note: the xml post directives will be deprecated in a later version
This entry was posted on December 15, 2019 at 9:02 PM and has received 501 views.