WordPress.org

Forums

Smart YouTube PRO
Thumbnail issue in facebook post (1 post)

  1. emmanuelfamillelopez
    Member
    Posted 1 year ago #

    Hi,

    There is an issue with your extension.
    in your code smartyoutube.php line 137 you put
    echo '<meta property="og:image" content="http://i.ytimg.com/vi/' . $matches[0][5] . '/default.jpg" />';

    This thumbnail can't be use by facebook because :
    "Provided og:image is not big enough. Please use an image that's at least 200x200 px" (source : https://developers.facebook.com/tools/debug)

    you have to change the code :
    echo '<meta property="og:image" content="http://i.ytimg.com/vi/' . $matches[0][5] . '/hqdefault.jpg" />';

    Can you change that for the next version ?

    Thanks

    https://wordpress.org/plugins/smart-youtube/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by emmanuelfamillelopez
  • This topic is not resolved
  • WordPress version: 3.8.1