Skip to content

Conversation

joethreepwood
Copy link
Contributor

Changes

Before
Screenshot 2025-10-13 at 09 46 29

After
Screenshot 2025-10-13 at 09 58 19

However, this occurs on many pages and only fixes one. I can role this out further if needed, but I'm pretty sure there'll be a smarter way to do this and that we may be wise to move to Wistia instead.

Checklist

  • Words are spelled using American English
  • Titles are in sentence case
  • Feature names are in sentence case too. It's "product analytics" not "Product Analytics" and so on.
  • Use relative URLs for internal links
  • If I moved a page, I added a redirect in vercel.json
  • Remove this template if you're not going to fill it out!

Article checklist

  • I've added (at least) 3-5 internal links to this new article
  • I've added keywords for this page to the rank tracker in Ahrefs
  • I've checked the preview build of the article
  • The date on the article is today's date
  • I've added this to the relevant "Tutorials and guides" docs page (if applicable)

Copy link

vercel bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
posthog Ready Ready Preview Oct 13, 2025 9:15am

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment on lines +24 to +25
width="600"
height="337"
Copy link
Contributor

Choose a reason for hiding this comment

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

style: hardcoded dimensions make the video non-responsive on smaller screens - other YouTube iframes in the docs don't use explicit dimensions (see retention.mdx:11-14, funnels.mdx:46-49, trends/overview.mdx:47-50)

Prompt To Fix With AI
This is a comment left during a code review.
Path: contents/docs/product-analytics/dashboards.mdx
Line: 24:25

Comment:
**style:** hardcoded dimensions make the video non-responsive on smaller screens - other YouTube iframes in the docs don't use explicit dimensions (see retention.mdx:11-14, funnels.mdx:46-49, trends/overview.mdx:47-50)

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Member

@edwinyjlim edwinyjlim left a comment

Choose a reason for hiding this comment

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

This works, but like @joethreepwood said, we'd have to apply these fixes to every <iframe> youtube embed

Comment on lines 23 to +25
className="rounded shadow-xl"
width="600"
height="337"
Copy link
Member

Choose a reason for hiding this comment

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

I'd use tailwind classes for full width and 16:9 aspect ratio, so the video resizes for mobile

The mt-4 is just for spacing (the table of contents and video player touch rn on mobile)

Suggested change
className="rounded shadow-xl"
width="600"
height="337"
className="rounded shadow-xl mt-4 w-full aspect-video"

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