cards-player-samples

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

Github星跟蹤圖

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:

主要指標

概覽
名稱與所有者xdevplatform/cards-player-samples
主編程語言HTML
編程語言HTML (語言數: 1)
平台
許可證Apache License 2.0
所有者活动
創建於2014-04-30 15:39:21
推送於2023-02-03 11:18:01
最后一次提交
發布數0
用户参与
星數200
關注者數14
派生數89
提交數22
已啟用問題?
問題數8
打開的問題數2
拉請求數3
打開的拉請求數1
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?