Closed scottmathson closed 4 years ago
We may have added it to electron-apps and never implemented it on the site. If you're able to open a PR on https://github.com/electron/electronjs.org to add this, that would be much appreciated. 👍
Hey @zeke checking back in on this and you're right, looks like that's the case. Will do some work in main website repo there to remedy this 👍
Thanks @scottmathson! I'm not very active on this project nowadays, so if you open a PR please ping @electron/wg-website for review.
Hello! Is issue still up for grabs?
@kelvinabella Go for it!
@kelvinabella Go for it!
@HashimotoYT It's my first time contributing to open source. Based from my digging on the issue. We need to add youtube_video_url
to https://www.electronjs.org/apps/{app-name} if its existing in the yml file. If not so, would appreciate some guidance on where should I start. Thank you!
@kelvinabella For showing the application we use that file: https://github.com/electron/electronjs.org/blob/master/views/apps/show.html. You can start from that point: https://github.com/electron/electronjs.org/blob/b5110284c9d4d490341aa5340685fc5144a39a7c/views/apps/show.html#L171, here we show the screenshots and here should be the youtube video. For checking if the app has youtube video you can use that example:
{{#if app.youtube_video_url}}
Show video
{{/if}}
@kelvinabella For showing the application we use that file: https://github.com/electron/electronjs.org/blob/master/views/apps/show.html. You can start from that point:
, here we show the screenshots and here should be the youtube video. For checking if the app has youtube video you can use that example:
{{#if app.youtube_video_url}} Show video {{/if}}
@HashimotoYT Hi. Kindly review my changes. Please let me know if I its okay with you. Thanks!
As noted in this PR, I'm not seeing how the
youtube_video_url
field cited in the contribution guidelines is actually coming into play on-site, on any of these pages.Dug into other open and closed issues here, alongside searching the source code of pages in production and am not seeing videos displayed anywhere.
/cc @zeke @ckerr