Skip to content

Stream-embedding-portrait-video-nathan - #286

Open
mintlify[bot] wants to merge 3 commits into
mainfrom
Stream-portrait-video-nathan
Open

Stream-embedding-portrait-video-nathan#286
mintlify[bot] wants to merge 3 commits into
mainfrom
Stream-portrait-video-nathan

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Mintlify

0 threads from 0 users in Mintlify

  • No unresolved comments

Open in Mintlify Editor

- Updated stream/embedding.mdx

Mintlify-Source: dashboard-editor
@NathanZBunny
NathanZBunny requested a review from mihan June 12, 2026 11:41

@mihan mihan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree we need to improve. I added two comments, I would rather do this in a combination with default embed markup improvements in the dashboard.

Comment thread stream/embedding.mdx

## How to embed vertical portrait (9:16) mobile video

Portrait (9:16) video is common for mobile-first content, short-form clips, and social-style players. By default, the Stream embed renders in landscape (16:9). This guide shows you how to adjust it for vertical video.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm I wouldn't express it like this. I would rather state that Stream player is responsive and automatically adopts to container size. Embed html generated in dash is just example and I would not go into detail this much. I would rather briefly explain that iframe can be styled as any html element to optimize sizing for video size and requirements of integrating webside.

Comment thread stream/embedding.mdx

#### Basic embed

The standard Stream embed code wraps the iframe in a div with `padding-top: 56.25%` to maintain a 16:9 ratio:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is good to talk about "the standard embed code" What dashboard produces is just an example and it should not be generally copy pasted but users should adopt it to their requirements. Also current markup is not even the best possible and it would be good to rethink it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants