Building a Video Hugo Shortcode for Local and Remote Content

Hugo provides a means of including YouTube and Vimeo content within Markdown via the concept of embedded shortcodes . However, I required a way to embed other forms of local and remote video content, such as those playable via the video HTML element. To achieve this, I built a custom shortcode for Hugo.