WordPress.org

Ready to get started?Download WordPress

Forums

Plugin emulating WP.com video embed tags with w&h? (3 posts)

  1. Buovjaga
    Member
    Posted 3 years ago #

    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?

  2. 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.

  3. Buovjaga
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.