Skip to content

Add documentation page on video optimization - #60574

Merged
StephDietz merged 62 commits into
canaryfrom
video-optimization-docs
Jan 19, 2024
Merged

StephDietz merged 62 commits into
canaryfrom
video-optimization-docs

Conversation

@StephDietz

@StephDietz StephDietz commented Jan 12, 2024 •

Copy link
Copy Markdown
Contributor

I've added a new page to the Next.js docs about optimizing videos. It covers:

  • the native video and iframe tag
  • displaying externally hosted videos (i.e. from youtube)
  • self hosting strategies and best practices
  • Video optimization techniques

@ijjk ijjk added area: documentation Font (next/font) Related to Next.js Font Optimization. created-by: Next.js Docs team PRs by the Docs team. labels Jan 12, 2024
@ijjk

ijjk commented Jan 12, 2024 •

Copy link
Copy Markdown
Member

Allow CI Workflow Run

  • approve CI run for commit: 2217f88

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@ijjk

ijjk commented Jan 12, 2024 •

Copy link
Copy Markdown
Member

Allow CI Workflow Run

  • approve CI run for commit: 8653e0b

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

StephDietz added 2 commits January 12, 2024 11:55
@StephDietz
StephDietz marked this pull request as ready for review January 12, 2024 18:03
@StephDietz
StephDietz requested review from delbaoliveira and ismaelrumzan and removed request for a team January 12, 2024 18:03
Comment thread .vscode/settings.json Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
StephDietz and others added 7 commits January 16, 2024 10:24
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
…os.mdx

Co-authored-by: Lee Robinson <me@leerob.io>
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
Comment thread docs/02-app/01-building-your-application/06-optimizing/02-videos.mdx Outdated
@StephDietz
StephDietz requested a review from leerob January 19, 2024 18:17
samcx pushed a commit that referenced this pull request Jan 19, 2024
### What?

Removing an outdated entry, and fixing the casing of another so Workflow
runs are auto-approved.

### Why?

#60574 fails the CI Workflow Run,
because of a mismatch in GitHub actor and the actual username set in
`labeler.json`


[Ref](https://github.com/vercel/nextjs-hive-docker/blob/c26bc3f26520b41986a0f9467fdc2529f705d81f/validate-job.js#L39-L42),
[Slack
thread](https://vercel.slack.com/archives/C03S9JCH2Q5/p1705684536884389?thread_ts=1705436555.494229&cid=C03S9JCH2Q5)

Closes NEXT-2172
@StephDietz
StephDietz merged commit 4a74492 into canary Jan 19, 2024
@StephDietz
StephDietz deleted the video-optimization-docs branch January 19, 2024 19:09
@AhmedBaset

Copy link
Copy Markdown
Contributor

Since the next line starts with (spaces), the parser considers it as multi-line item and wrap the title in a new line

This code block has no left padding

@github-actions github-actions Bot added the locked label Feb 3, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

created-by: Next.js Docs team PRs by the Docs team. Font (next/font) Related to Next.js Font Optimization. locked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants