playcanvas / playcanvas/editor

Add twitter card player meta tags to playcanv.as links to allow embedding of content

Open
#653 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: publishing enhancement
Dominant language
TypeScript
Stars
1.3k
Forks
215
Avg merge
1d 29m
Merged PRs (30d)
30

Description

Example:

https://user-images.githubusercontent.com/16639049/148546278-2e71deec-abab-4298-9807-9c7a29833bd3.mp4

The tags are documented here: https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started and https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/player-card

Unfortunately, they don't work on the mobile app nor show any preview of any kind which is unfortunate.

See how it looks on mobile here: https://twitter.com/ciaranioh/status/1479168955595976705

image

This ticket should wait until that is 'fixed' by Twitter as it's a shame to only support this for desktop.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reviewing the linked Twitter Player Card documentation and the linked mobile example; confirm that Twitter supports the requested behavior before locating how playcanv.as links are rendered. Done means the documented player-card metadata is added once Twitter’s mobile limitation is fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.