OEmbed is a standardized format for allowing content to be embedded on a website.
oembed()
function inside of email, you simply provide a request string that includes the URL, Max Width, and Max Height. You can see an example of this function on our developer documentation.
oembed()
function. Below is an example of this in use:
{% require %}
tags in order to place the correct CSS and JavaScript in the proper areas based on the conditional at the start of the module code.oembed_response
object. Once the url is entered in the Media URL field and pulled this data is then cached on our end for use with an oembed_response
object. Below is a sample of how you can view the oembed_response
dict:
oembed_response
, you would have to modify your media URL (remove a letter and re-add) and re-apply the changes to your module.
message
property.