Skip to content

refactor: youtube shortcode for custom styling , video fromatter to use camelCase consistently #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 6, 2025

Conversation

vishalvivekm
Copy link
Contributor

@vishalvivekm vishalvivekm commented May 6, 2025

Notes for Reviewers

This PR:

  • renames video_id to videoId (following camelCase)
  • passes a class parameter to default youtube shortcode for better styling control. It results in removal of the existing style from the <iframe> and its wrapping <div> element. So those default styles + margin: 2rem 0 is added too.

Signed commits

  • Yes, I signed my commits.

Signed-off-by: vishalvivekm <[email protected]>
Signed-off-by: vishalvivekm <[email protected]>
Copy link

netlify bot commented May 6, 2025

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit b39283c
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/681a81855fd7220008999e34
😎 Deploy Preview https://deploy-preview-546--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

vishalvivekm and others added 4 commits May 7, 2025 02:14
Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: vishalvivekm <[email protected]>
@vishalvivekm vishalvivekm changed the title fixes refactor: youtube shortcode for custom styling , video fromatter to use camelCase consistently May 6, 2025
@vishalvivekm vishalvivekm requested a review from leecalcote May 6, 2025 21:39
@vishalvivekm vishalvivekm merged commit 31ab4a3 into layer5io:master May 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant