Support » Plugin: Video Thumbnails » [Plugin: Video Thumbnails] Idea: Support messy Youtube URLs

  • WordPress core supports auto-embedding videos from Youtube and other video site links. It also understands the messier links that can be copy-pasted from the browser’s address bar, such as[videoid].

    I will add support for this soon. Embedding other messy types of links like[user]?feature=watch#p/a/u/0/[videoid] isn’t supported by WordPress core. Please let me know if a plugin allows embedding videos with link types that are not yet supported by Video Thumbnails and I’ll include support for them in my next patch.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sutherland Boswell


    I don’t think this is something we need to worry about, because the links (at least those the core supports) should already be converted to their embed code by applying the content filter.

    $markup = $post_array->post_content;
    $markup = apply_filters('the_content',$markup);

    This is also supposed to take care of any videos embedded using plugins with their own shortcode or URL structure, but for some reason this isn’t always the case. Maybe try testing out this section to see if it is in fact converting most videos from the core and plugins to their embed code.

    I reported this after testing that certain copy-paste URLs embed the video but Video Thumbnails didn’t catch the thumbnail. That issue is fixed with a simple adjustment of regex.

    The reason is likely that Video Thumbnails doesn’t look at the converted embed code but the raw post.

    Support added in 1.7.7-daedalon3 along with other patches. is another messy Youtube URL that should work with the patched version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Video Thumbnails] Idea: Support messy Youtube URLs’ is closed to new replies.