cards-player-samples

Sample Code for Player Cards, both for stored and streamed video.

Github stars Tracking Chart

Twitter Cards Getting Started Bundle

Thank you for downloading the Twitter Cards getting started bundle!

Player Card

In the /player path, you'll find sample code to set up a simple Player Card for your site.

The basic steps to deploy are:

  • Unzip the contents into a publicly accessible path on your website
  • Open the page.html file and ensure the twitter:image, twitter:player and twitter:player:stream values point to your server and file locations
  • Update the content that you're pointing to (don't use the sample video, please!)
  • Ensure all paths are specified as secure (https://)
  • Test your URL

To test your experience, please visit the following URL:

https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/player-card

At that site, you will also find information on general rules, in case you choose to extend the experience to fit your own platform and media player.

Screenshot

Additional Help

If you need more help getting your Player Card working, please check out these additional resources:

Overview

Name With Ownerxdevplatform/cards-player-samples
Primary LanguageHTML
Program languageHTML (Language Count: 1)
Platform
License:Apache License 2.0
Release Count0
Created At2014-04-30 15:39:21
Pushed At2023-02-03 11:18:01
Last Commit At
Stargazers Count195
Watchers Count15
Fork Count85
Commits Count22
Has Issues Enabled
Issues Count8
Issue Open Count2
Pull Requests Count3
Pull Requests Open Count1
Pull Requests Close Count2
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top