10up / headstartwp

Build a headless website fast with WordPress, the world’s most popular CMS, and Next.js, the most popular React framework. A free and open source solution by the experts at 10up.
https://headstartwp.10up.com
153 stars 17 forks source link

Feature/support params for YoutubeLiteBlock #749

Closed darrenjacoby closed 3 months ago

darrenjacoby commented 3 months ago

Description of the Change

Add params to the YoutubeLiteBlock which is supported by https://github.com/paulirish/lite-youtube-embed?tab=readme-ov-file#custom-player-parameters

This should allow greater control of the YouTube embed using the params passed in with the URL. For example, &rel=0 can be passed to disable related videos loading. At the moment, these params are not passed.

How to test the Change

Changelog Entry

Added - New feature Changed - Existing functionality Deprecated - Soon-to-be removed feature Removed - Feature Fixed - Bug fix Security - Vulnerability

Credits

Checklist:

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 9fec7712eaadd4234f5a93c93b16d2d9cfa4208f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @headstartwp/core | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 3 months ago

@darrenjacoby is attempting to deploy a commit to the tenup-internal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headstarwp ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 3:01pm