• Hi, I am trying to get a YouTube video in my post. It works if I just put the URL in, but if I want to add any parameters it fails – just displays my code instead of the video.

    I am following the shortcode instructions here:
    http://en.support.wordpress.com/videos/youtube/

    I took an example straight off the page, in HTML mode, and this just spits out into the blog post…
    [youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=640&h=385]

    What could be wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nickaster

    (@nickaster)

    oh christ, I’m an idiot. Didn’t realize that was a wordpress.com thing.

    I guess I need a plugin to make this work? Now I’m searching for generic shortcode plugins and not getting anywhere – is there anything that mimics the wordpress.com instructions? Alterntively, anything that can let me just use normal embed code like the old days? That would be a lot easier than monkeying around with more plugins!

    Do you really need to have a plugin for this? This can be done very easily by simply putting the code in the post. You should try not to use too many plugins on your wordpress install, it slows down the site.

    For using the normal built-in embedding:
    http://codex.wordpress.org/Embeds

    To use the exact same shortcodes as wordpress.com you have to use the Jetpack plugin or make your own shortcodes:

    http://wordpress.org/extend/plugins/jetpack/

    You can also search for any relevant plugins in the repository that would add similar shortcodes. Here’s one I found searching for “youtube”:

    http://wordpress.org/extend/plugins/enhanced-youtube-shortcode/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Embed Code? Short Code?’ is closed to new replies.