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

Allow YouTube video embed on <StoryCard`s #31

Open
joewheaton opened this issue Dec 24, 2024 · 1 comment
Open

Allow YouTube video embed on <StoryCard`s #31

joewheaton opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request Gatsby Anything related specifically to Gatsby
Milestone

Comments

@joewheaton
Copy link

I have a lot of course websites and documentation sites where I used cards (specifically <div class="card"> ) to position the YouTube video of a topic, adjacent to the slides (e.g. here):
Embed YouTube on Card
The advantage of this was that:

Now with <StoryCards, we have an image={ parameter, but we don't have a Youtube parameter. Is that possible?

@joewheaton joewheaton added the enhancement New feature or request label Dec 24, 2024
@joewheaton joewheaton changed the title Is it possible to allow YouTube video embed on <StoryCard`s? Allow YouTube video embed on <StoryCard`s Dec 24, 2024
@MattReimer MattReimer added the Gatsby Anything related specifically to Gatsby label Dec 25, 2024
@MattReimer
Copy link
Member

I think we need a new kind of component here to accomplish this. Not sure exactly the parameters but I don't think we'll be able to extend the StoryCard to do this. Maybe we could invent a <VideoStoryCard> ?

@MattReimer MattReimer added this to the Next Version milestone Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Gatsby Anything related specifically to Gatsby
Projects
None yet
Development

No branches or pull requests

2 participants