# comark/embed/height-unsupported

Only a player with no height of its own, such as CodePen, StackBlitz, or Figma, takes `height`. A video keeps its aspect ratio, Spotify draws its own player, and an X post grows to the post, so `height` on them is ignored.

**Incorrect**

```md
::embed{url="https://youtu.be/KCrXgy8qtjM" title="Vite in 100 Seconds" height=480}
::
```

**Correct**

```md
::embed{url="https://youtu.be/KCrXgy8qtjM" title="Vite in 100 Seconds"}
::
```

<!-- vitehub-docs:section-links -->
## In this section

- [Doctor](https://comark-ui.onmax.me/raw/doctor.md)
- [annotate](https://comark-ui.onmax.me/raw/doctor/annotate/annotation-outside-screenshot.md)
- [badge](https://comark-ui.onmax.me/raw/doctor/badge/empty-badge.md)
- [Core](https://comark-ui.onmax.me/raw/doctor/blocked-url.md)
- [cards](https://comark-ui.onmax.me/raw/doctor/cards/empty-columns.md)
- [carousel](https://comark-ui.onmax.me/raw/doctor/carousel/content-outside-slide.md)
- [cast](https://comark-ui.onmax.me/raw/doctor/cast/file-not-found.md)
- [charts](https://comark-ui.onmax.me/raw/doctor/charts/content-dropped.md)
- [chips](https://comark-ui.onmax.me/raw/doctor/chips/invalid-avatar.md)
- [code-notes](https://comark-ui.onmax.me/raw/doctor/code-notes/marker-without-note.md)
- [code](https://comark-ui.onmax.me/raw/doctor/code/invalid-range.md)
- [colors](https://comark-ui.onmax.me/raw/doctor/colors/content-dropped.md)
- [comments](https://comark-ui.onmax.me/raw/doctor/comments/duplicate-id.md)
- [critic](https://comark-ui.onmax.me/raw/doctor/critic/invalid-mode.md)
- [details](https://comark-ui.onmax.me/raw/doctor/details/content-outside-item.md)
- [diagrams](https://comark-ui.onmax.me/raw/doctor/diagrams/authored-svg.md)
- [diff](https://comark-ui.onmax.me/raw/doctor/diff/block-count.md)
- embed
  - [card-without-title](https://comark-ui.onmax.me/raw/doctor/embed/card-without-title.md)
  - [content-dropped](https://comark-ui.onmax.me/raw/doctor/embed/content-dropped.md)
  - [credentials-in-url](https://comark-ui.onmax.me/raw/doctor/embed/credentials-in-url.md)
  - [height-unsupported](https://comark-ui.onmax.me/raw/doctor/embed/height-unsupported.md) (this page)
  - [insecure-url](https://comark-ui.onmax.me/raw/doctor/embed/insecure-url.md)
  - [invalid-height](https://comark-ui.onmax.me/raw/doctor/embed/invalid-height.md)
  - [invalid-start](https://comark-ui.onmax.me/raw/doctor/embed/invalid-start.md)
  - [missing-url](https://comark-ui.onmax.me/raw/doctor/embed/missing-url.md)
  - [player-failed](https://comark-ui.onmax.me/raw/doctor/embed/player-failed.md)
  - [start-unsupported](https://comark-ui.onmax.me/raw/doctor/embed/start-unsupported.md)
  - [unknown-prop](https://comark-ui.onmax.me/raw/doctor/embed/unknown-prop.md)
  - [unreadable-link](https://comark-ui.onmax.me/raw/doctor/embed/unreadable-link.md)
- [fields](https://comark-ui.onmax.me/raw/doctor/fields/description-ignored.md)
- [file-tree](https://comark-ui.onmax.me/raw/doctor/file-tree/content-dropped.md)
- [footnotes](https://comark-ui.onmax.me/raw/doctor/footnotes/duplicate-definition.md)
- [github](https://comark-ui.onmax.me/raw/doctor/github/invalid-repo.md)
- [icon](https://comark-ui.onmax.me/raw/doctor/icon/download-failed.md)
- [include](https://comark-ui.onmax.me/raw/doctor/include/file-not-found.md)
- [magic-move](https://comark-ui.onmax.me/raw/doctor/magic-move/content-in-magic-move.md)
- [math](https://comark-ui.onmax.me/raw/doctor/math/authored-html.md)
- [media](https://comark-ui.onmax.me/raw/doctor/media/autoplay-without-muted.md)
- [mermaid](https://comark-ui.onmax.me/raw/doctor/mermaid/source-too-long.md)
- [metrics](https://comark-ui.onmax.me/raw/doctor/metrics/column-count.md)
- [outline](https://comark-ui.onmax.me/raw/doctor/outline/content-dropped.md)
- [properties](https://comark-ui.onmax.me/raw/doctor/properties/content-dropped.md)
- [qr](https://comark-ui.onmax.me/raw/doctor/qr/content-dropped.md)
- [quiz](https://comark-ui.onmax.me/raw/doctor/quiz/correct-in-poll.md)
- [shiki](https://comark-ui.onmax.me/raw/doctor/shiki/source-too-long.md)
- [sources](https://comark-ui.onmax.me/raw/doctor/sources/content-dropped.md)
- [steps](https://comark-ui.onmax.me/raw/doctor/steps/content-before-steps.md)
- [table](https://comark-ui.onmax.me/raw/doctor/table/base-outside-root.md)
- [tabs](https://comark-ui.onmax.me/raw/doctor/tabs/content-in-code-group.md)
- [tests](https://comark-ui.onmax.me/raw/doctor/tests/content-dropped.md)
- [time](https://comark-ui.onmax.me/raw/doctor/time/invalid-date.md)
- [xref](https://comark-ui.onmax.me/raw/doctor/xref/duplicate-label.md)

Next: [insecure-url](https://comark-ui.onmax.me/raw/doctor/embed/insecure-url.md)

All pages: [llms.txt](https://comark-ui.onmax.me/llms.txt)
