Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

generatewp_oembed_provider

// Register oEmbed providers
function generatewp_oembed_provider() {

	wp_oembed_add_provider( '#https?://(www.)?generatewp.com/snippet/.*#i', 'http://api.generatewp.com/v1/oembed/', true );

}

// Hook into the 'init' action
add_action( 'init', 'generatewp_oembed_provider' );