---
title: "twitter:player:width · Meta Tag · zhead"
canonical_url: "https://zhead.dev/meta/twitter-player-width"
last_updated: "2026-08-10T16:29:02.950Z"
meta:
  description: "Sets the iframe width, in pixels, for an X Player Card. X has retired the detailed public tag reference."
  "og:description": "Sets the iframe width, in pixels, for an X Player Card. X has retired the detailed public tag reference."
  "og:title": "twitter:player:width · Meta Tag · zhead"
---

Meta tags

# twitter:player:width

Sets the iframe width, in pixels, for an X Player Card. X has retired the detailed public tag reference.

## Code examples

Good example

```
<meta name="twitter:player:width" content="435">
```

Declares a player iframe 435 pixels wide.

Good example

```
<meta name="twitter:player:width" content="600">
```

Valid when the iframe is actually 600 pixels wide.

Avoid this example

```
<meta name="twitter:player:width" content="435px">
```

Do not include a CSS unit.

Avoid this example

```
<meta name="twitter:player:width" content="100%">
```

The field expects an integer pixel count.

## Recommendations

- 01 Match the Player Use the actual iframe width as an integer without a unit.
- 02 Use with twitter:player:height Declare both integer dimensions next to the twitter:player URL.

## Related documentation

- [docs.x.com: Overview](https://docs.x.com/overview)

## Related meta tags

### [twitter:app:id:ipad](https://zhead.dev/meta/twitter-app-id-ipad)

name

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.

### [twitter:app:id:iphone](https://zhead.dev/meta/twitter-app-id-iphone)

name

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.

### [twitter:app:id:googleplay](https://zhead.dev/meta/twitter-app-id-googleplay)

name

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.

### [twitter:app:name:ipad](https://zhead.dev/meta/twitter-app-name-ipad)

name

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.

### [twitter:app:name:googleplay](https://zhead.dev/meta/twitter-app-name-googleplay)

name

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.