learncodingfree / learnCodingFree.org

Main website for learncodingfree
https://learncodingfree.org
MIT License
45 stars 14 forks source link

Get course data from YouTube using Gatsby plugin #3

Open tanaypratap opened 5 years ago

tanaypratap commented 5 years ago

https://www.gatsbyjs.org/packages/gatsby-source-youtube/

This plugin is for getting data from Youtube. Need to explore whether it can get a playlist of videos or not. Courses are on youtube.com/tanaypratap in separate playlists. This way, we can just get the data from Youtube on every course page and embed it.

bishwenduk029 commented 5 years ago

I can take this up and start working. Thanks for the chance.

tanaypratap commented 5 years ago

Please go ahead and start exploring this. If you see the YouTube channel. Courses are mostly in playlist so we need a way to get data from a playlist not just from channels!

On Fri, 31 May, 2019, 8:36 AM Bishwendu Kundu, notifications@github.com wrote:

I can take this up and start working. Thanks for the chance.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/learncodingfree/learnCodingFree.org/issues/3?email_source=notifications&email_token=ACN6LHYROFQ24PHUOVA3HS3PYCIZVA5CNFSM4HRF7KFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUCI2Y#issuecomment-497558635, or mute the thread https://github.com/notifications/unsubscribe-auth/ACN6LH6DB5MO6K4NH74Z7N3PYCIZVANCNFSM4HRF7KFA .

sujoys10 commented 5 years ago

This plugin is not working for me. So using the version 2 of it. After exploring , I found that i can only get all the videos ,but not separated by playlist. We can't also play the video directly from the site. So I think, we have to find or make an alternative to serve our needs. @tanaypratap

bishwenduk029 commented 5 years ago

Yes @sujoys10 you are right, so I have forked this plugin and enhanced it to fetch the videos of a playlist (by playlist ID). I assuming the playlist ID we will have beforehand. You correct me if I am wrong or if any other alternative would be good

sujoys10 commented 5 years ago

@bishwenduk029 can you share the plugin with me?

tanaypratap commented 5 years ago

But I'm sure we would be able to embed it in the site pages right? Otherwise it serves no purpose.

On Wed, 12 Jun, 2019, 9:55 PM Sujoy Saha, notifications@github.com wrote:

@bishwenduk029 https://github.com/bishwenduk029 can you share the plugin with me?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/learncodingfree/learnCodingFree.org/issues/3?email_source=notifications&email_token=ACN6LHY4VMV43AILLTYCFELP2EPPFA5CNFSM4HRF7KFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRABFA#issuecomment-501350548, or mute the thread https://github.com/notifications/unsubscribe-auth/ACN6LH6U44LDONVESM5BRNDP2EPPFANCNFSM4HRF7KFA .

sujoys10 commented 5 years ago

Yes. We can embed it using iframe. But we need to fetch the videos by playlist for our website. And this plug-in doesn't serve that purpose. So I was thinking about making a custom plug-in for it. @tanaypratap

ashima20 commented 5 years ago

Hi is this done ? I want to take up this issue.