oEmbed Support

Details about oEmbed - and http://oembed.com/

Sample library - https://code.google.com/p/jquery-oembed/

I guess hugo can provide a config option e.g. oEmbed = on or oEmbed = off

If oEmbed is on, a jquery or other library can be added to each generated page which will transform link to rich-media content.

Not sure if such thing should go in hugo-core or to be handled by hugo-themes. Would like to know what other thinks about this? :slight_smile:

I think this is a good idea for another time. Right now I’d focus on having themes implement this via javascript, since the embedding all happens client side anyway there isn’t much benefit I see to pulling it on the generation side.

A post was merged into an existing topic: Conditional logic for data-driven content that returns no result