Soundcloud embed shortcode does not work

If you are on WordPress 3.5 or higher just putting the URL on a separate line should work: https://soundcloud.com/radhanath-swami/offer-the-best-you-have You do not need to use the embed code, WordPress handles the embedding via oEmbed itself. Also have a look at the Codex. EDIT: If you want the small image you probably should have mentioned that … Read more

How can I change Max Embed Size in WordPress 3.5?

See the function wp_embed_defaults() in wp-includes/media.php: function wp_embed_defaults() { if ( ! empty( $GLOBALS[‘content_width’] ) ) $width = (int) $GLOBALS[‘content_width’]; if ( empty( $width ) ) $width = 500; $height = min( ceil( $width * 1.5 ), 1000 ); return apply_filters( ’embed_defaults’, compact( ‘width’, ‘height’ ) ); } To change these values filter embed_defaults: add_filter( … Read more

WP Oembed not passing through the “autoplay=1” variable

Those are not really arguments like for YouTube, more of arguments for WordPress itself. One way to handle it would be to access your argument later inside of a filter and modify HTML output. Pass in arguments array: wp_oembed_get( ‘http://www.youtube.com/watch?v=’, array( ‘autoplay’ => 1 ) ); And filter: add_filter(‘oembed_result’,’oembed_result’, 10, 3); function oembed_result($html, $url, $args) … Read more