Skip to content

twitterdev/cards-player-samples

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 16, 2021 00:22
November 16, 2021 00:22
November 16, 2021 00:22
February 13, 2020 16:00
November 16, 2021 00:22
February 28, 2018 15:18

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 (container.html) 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, visit the Twitter Cards Validator

Screenshot

Image of a Player card in an embedded Tweet

Additional Help

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

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages