Support WebM video


#1

I wonder if I can embed video webm through hugos markdown
Or rather, how can I accomplish this?
https://www.google.com.vn/


#2

You need to create a Hugo shortcode for WebM video. See the docs about Hugo Shortcodes.

Also why have you posted a link to Google’s Vietnam page?


#3

Is there not already a generic video shortcode? WebM has nothing special (except that’s it’s free software and unpatented) and uses plain HTML5 video tag. So any <video> implementation should be fine :slight_smile:


#4

No there isn’t. There are YouTube and Vimeo shortcodes. See towards the bottom of the list of https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes