Forums

Problem when WP get the thumbnail YouTube, vimeo... automatically generates (4 posts)

  1. hiepnhl
    Member
    Posted 5 months ago #

    When I just paste Youtube video link in edit form and publish, it works.
    But if I add <p> tag, example: <p style="text-align: center;">http://www.youtube.com/watch?v=5qcmCUsw4EQ</p>, it not works.

    Same problem with <div> tag.

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    Don't use div or P to center videos.

    Try using this: http://wordpress.org/extend/plugins/oembed-styling/

  3. hiepnhl
    Member
    Posted 5 months ago #

    If I wanna display video in center, I'll use iframe. But then i will have to add (or change) code in function.php file to get thumbnail image.

    It's not nice at all.

    Hope it were fixed in next version

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    Use the plugin. It lets you use CSS to correctly customize your display.

    Not a bug.

Reply

You must log in to post.

About this Topic