data-* attributes and JavaScript factory functions. This reference document describes parameters used in all formats.
Reference the oEmbed API to set these parameters as part of an HTML response for a Post ID or URL.
Parameters
HTML example
JavaScript factory example
The numeric Post ID should be passed as a string.