Skip to content
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

carousel #435

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

carousel #435

wants to merge 1 commit into from

Conversation

vishalvivekm
Copy link
Contributor

@vishalvivekm vishalvivekm commented Jan 17, 2025

Notes for Reviewers

This PR fixes #432

Signed commits

  • Yes, I signed my commits.

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

netlify bot commented Jan 17, 2025

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit faaeddb
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/678a55637bd88300080a583d
😎 Deploy Preview https://deploy-preview-435--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 vishalvivekm marked this pull request as draft January 17, 2025 13:08
@@ -3,6 +3,7 @@ title: "Local video 1"
description: "Birth of Kanvas logo from Meshery Birth of Kanvas logo from Meshery"
src: "/videos/pattern-import.mp4"
videoType: local
video_id: "Do7htKrRzdA"
Copy link
Member

@leecalcote leecalcote Jan 17, 2025

Choose a reason for hiding this comment

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

Between src and video_id, while both are valid frontmatter details, one can be considered optional, so that as the other one is provided. A video page must have one of the two; can use either one of the two.

The only time that video_id or src is necessary is when you want to embed a video on a docs page inline with the reading. In that case, we can use a shortcode to display the video inline, right? For YouTube, it's the current shortcode and for video on the file system that would be a different shortcode? ({{< youtube and {{local-video).

Otherwise, the src field and video_id field are unnecessary considering that videos are generally to be displayed based on their assigned categories and tags.

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

Successfully merging this pull request may close these issues.

Add "Videos" section to the bottom of each docs page
2 participants