This Extension adds a oemebd2 fields to Bolt and SirTrevor. The Plugin allowes the definition of existing OEmbed services and easily integrating them in to the website. The received embed html will be saved in the database as a json-string. The configuration of the plugin is simple Example: instagram: label: Instagram Post # Label für Feld oder Sir-Trevor Block oembedUrl: https://api.instagram.com/oembed/ # URL für oEmbed api call pattern: /^http(s)?:\/\/www.instagram.com\/p\/([^\/?]+)\//i # Regexp pattern zur Erkennung # Inline template for HTML genaration of the embed. The info for the embed is in variable data #template: '{{data.html|raw}} ' # Template File to be used fro generation of the HTML Content, the variable data holds the embed info templatePath: 'embeds/instagram.twig' # Custom array/mapping to be saved holding embed properties that are not saved by default options: { key: html } Contenttype Example: oemebd_field_name: label: Embed type: oemebd2 The extension adds a Block to the Sir Trevor extesion, called Oembedtwo (the name is different because of Sir-Trevor internal way of handling block names). Example: structuredcontent: type: structuredcontentfield blocks: [Oembedtwo, Image, Heading, Text, List, Video, Quote]