• Resolved Dave

    (@deeve007)


    I have a blog item that is a Youtube video, so “Format” I have chosen video. I would expect the “og:type” to be “video”, but it is still displaying as “article”.

    Any way to fix this, as it means that when sharing on facebook it doesn’t display the Youtube video, only the title and text.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Dave,

    i am going to release a new version which allows you to specify different og types.

    Cheers
    René

    Thread Starter Dave

    (@deeve007)

    If you do, then you’re going to need to add in functionality that if Youtube, it adds in the og:image path to the image that Youtube provide for all their videos. I ended up having to use a custom field for Youtube video ID, and then add in a line in my template if that was present to get the Youtube image for that video to use for that post.

    • This reply was modified 8 years, 9 months ago by Dave.
    Thread Starter Dave

    (@deeve007)

    Example:

    <meta property="og:image" content="https://img.youtube.com/vi/ImbDe1YI_aU/hqdefault.jpg" />

    You can use the featured image or specify a separate open graph image by using mashshare open graph capabilities.

    Thread Starter Dave

    (@deeve007)

    If I’m adding a video to my blog post I don’t want to be needing to manually add an image every time, that is very time consuming. Youtube provides a default image for every video for social media sharing purposes, it would make sense to cater for that in your code.

    • This reply was modified 8 years, 9 months ago by Dave.

    I see! It would make absolutely sense . i agree.
    I put this on our to do list but have no ETA for it.

    Beside of that the custom og:type feature will be released today.
    I hope it’s useful for you nevertheless

    Thread Starter Dave

    (@deeve007)

    I’ll see if it provides the necessary og tags to share content effectively.

    And having this stuff I’m not expecting all for free, if you choose to have a paid addon to fulfill all the tags required for effective sharing across the major social media platforms that’s okay, I just think your plugin needs to have these elements available before it’s able to be used without adding in some additional template code as I did for the Youtube share images.

    Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Video content not sharing well’ is closed to new replies.