WordPress.org

Support

Support » Plugins and Hacks » Plugin emulating WP.com video embed tags with w&h?

Plugin emulating WP.com video embed tags with w&h?

  • I’m talking about these kinds of tags:

    [vimeo=hxxp://vimeo.com/xxxxxx w=640&h=360]
    [youtube=hxxp://www.youtube.com/watch?v=xxxxxx&w=640&h=390]

    Native wordpress.org doesn’t parse those, so is there a plugin that supports exactly those tags or do I have to regexp replace my tags to
    [embed width="640" height="360"]http://vimeo.com/9933332[/embed]
    in my exported .xml?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Kathryn
    Automattic Happiness Engineer

    @zoonini

    You can try:

    http://vimeo.com/xxxxxx
    
    http://www.youtube.com/watch?v=xxxxxx

    In Settings > Media, check off:

    Auto-embeds – When possible, embed the media content from a URL directly onto the page. For example: links to Flickr and YouTube. When possible, embed the media content from a URL directly onto the page. For example: links to Flickr and YouTube.

    … and set the dimensions there.

    This will use WP.org’s built-in oEmbed method.

    You see I have in my exported .xml both formats, oEmbed and [youtube= -style embeds, so I was thinking of how I could avoid a find&replace regexp operation for the [youtube= -ones.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin emulating WP.com video embed tags with w&h?’ is closed to new replies.