If you’d like to share your webpage's URL on social media, but want your post to include the ZenVideo player, you’ll need to add some extra code to your website’s <head> element.
In this article:
Post to Facebook
Facebook does not permit inline playback for third party players (i.e not videos not natively uploaded to Facebook). As of August 1, 2018, they are also no longer permitting the automatic posting of ZenVideo activity or publishing of videos, via ZenVideo’s Publish to Social feature, to Facebook profiles. Publishing directly to Facebook pages is still permitted.
Post to Twitter
Below you'll find templates for Twitter's player card tags. You’ll need to update the information in bold to match your video’s metadata before adding it to the <head> element of your website.
⚠️Note: If you’ve previously shared your website’s link on Twitter, you’ll need to re-cache it for your video to appear in the post.
Twitter player card tags
We recommend reading Twitter's documentation on player cards.
<meta name="twitter:card" content="player">
<meta name="twitter:site" content="@vimeo">
<meta name="twitter:title" content="VIDEO_TITLE">
<meta name="twitter:description" content="VIDEO_DESCRIPTION">
<meta name="twitter:image" content="LINK_TO_THUMBNAIL">
<meta name="twitter:player" content="https://player.vimeo.com/video/VIDEO_ID">
<meta name="twitter:player:width" content="1280">
<meta name="twitter:player:height" content="720">
<meta name="twitter:site" content="@vimeo">
Comments
0 comments
Please sign in to leave a comment.