Embedding a Video from Vimeo using Galaxie Blog Directives
Apr 21 |
Embedding Vimeo videos using Galaxie Blog Directives.
Note: it's recommended that you use the media interface in the post editor to insert Vimeo videos. However, you can also use Galaxie Blog Directives.
To embed a Vimeo video into the enclosure using a Galaxie Blog Directive, simply grab the video Id from Vimeo, and copy and paste the URL into the Post Header editor like so:
<vimeoVideoId>343068761</vimeoVideoId>
This snippet of code will initialize our Plyr and it will 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.
Related Entries
Tags
Media Player, Media PlayerThis entry was posted on April 21, 2022 at 11:02 PM and has received 1281 views.