Just like Vimeo, you can embed a YouTube video easily with Galaxie Blog.
Simply grab the video URL from YouTube, and copy and paste the URL into the YouTube URL xml post directive like so:
This snippet of code will initialize our Plyr and it will play the YouTube 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.
This video is an amazing performance by Chris Botti and Carolyn Campbell playing Kashmir to the violin. The video source is from You Tube at https://www.youtube.com/watch?v=LXt-hDDiEAQ&feature=youtu.be.
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 8:12 PM and has received 450 views.