Meta tags
twitter:player:stream
Legacy optional Player Card field for a direct video or audio stream URL. X no longer publishes this field in its developer documentation.
Code examples
Good example
<meta name="twitter:player:stream" content="https://example.com/video/clip.mp4">A direct HTTPS media resource in the historical field.
Good example
<meta name="twitter:player:stream" content="https://example.com/podcast/stream.mp3">A direct HTTPS audio resource.
Avoid this example
<meta name="twitter:player:stream" content="http://example.com/video/clip.mp4">The historical Player Card requirements called for HTTPS.
Avoid this example
<meta name="twitter:player:stream" content="https://example.com/player?id=123">A player page belongs in twitter:player, not in the direct stream field.
Recommendations
- 01Use a Direct HTTPS ResourcePoint to the media stream itself, not to the iframe player page.
- 02Legacy FieldTest the result on X before relying on it. The detailed official Player Card documentation is no longer published.
- 03Keep the Iframe URLThis optional stream did not replace the required twitter:player iframe URL.
Related documentation
Related meta tags
Legacy Twitter App Card field for the numeric App Store ID of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:id:ipad" content="307234931">The numeric App Store ID once used by App Cards.
Legacy Twitter App Card field for the numeric App Store ID of an iPhone app. X has retired its public App Card reference.
<meta name="twitter:app:id:iphone" content="307234931">The numeric App Store ID for the former Twitter iPhone app.
Legacy Twitter App Card field for an Android application ID, usually the package name used by Google Play. X has retired its public App Card reference.
<meta name="twitter:app:id:googleplay" content="com.example.app">A conventional Android application ID.
Legacy Twitter App Card field for the name of an iPad app. X has retired its public App Card reference.
<meta name="twitter:app:name:ipad" content="My Amazing App">A plain app name that matches the store listing.
Legacy Twitter App Card field for the name of an Android app. X has retired its public App Card reference.
<meta name="twitter:app:name:googleplay" content="MyApp">A short app name that matches the store listing.