The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript how to share page Item in twitter, facebook and Google Plus

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #259966

    <meta name='description' content='This chichi Chui chichivghuijuu' /><br />
    <meta property='og:title' content='YouTube' /><br />
    <meta property='og:description' content='This chichi Chui chichivghuijuu' />
    <meta property='og:site_name' content='Pizza Corn' />
    <meta property='og:url' content='; />

    <meta property='og:video' content='; /><br />
    <meta property='og:video:secure_url' content='; /><br />
    <meta property='og:video:width' content='640' /><br />
    <meta property='og:video:height' content='480' /><br />
    <meta property='og:video:type' content='application/x-shockwave-flash' />

    <meta name='twitter:title' content='Pizza Corn' /><br />
    <meta name='twitter:card' content='player' />
    <meta name='twitter:site' contant='@youtube' />
    <meta name='twitter:url' content='; />
    <meta name='twitter:description' content='This chichi Chui chichivghuijuu' />
    <meta name='twitter:player' contant='; />
    <meta name='twitter:player:width' contant='640' />
    <meta name='twitter:player:height' contant='480' /> “`

    I am sharing the page url in Twitter, Facebook and GooglePlus.

    I am able to share the Image,
    But I am unable to share the embeded youtube video from website to Twitter, Facebook and GooglePlus..

    Please suggest me what kind meta tags I need to keep in website, so that i can share youtube video direct in Twitter, Facebook and GooglePlus.


    Well I’m not certain of this because I didn’t try it myself but a quick search delivers me the following information:

    When using for example the ‘og:video’ meta tag, you have to use the reference to the video ‘’ instead of the reference to the watch URL.
    So in your case that would be something like:

    And for other media like twitter you should be able to find the information you need on either google or the medium you want to share it with.
    So for Facebook for example use this:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.