justinribeiro / lite-youtube

The fastest little YouTube web component on this side of the internet. The shadow dom web component version of Paul's lite-youtube-embed.

Home Page:https://www.npmjs.com/package/@justinribeiro/lite-youtube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: dealing with youtube shorts

jumeitent opened this issue · comments

Could you add a feature that can handle the Youtube shorts video?
Thank you in advance!

By default, the component will load YouTube shorts (and example is on my https://justinribeiro.com/ homepage), but I realize it's not ideal. I haven't quite worked out exactly what shape to make it in terms of responsiveness, but am looking into it.

Thank you!

I've gone ahead and made a first pass of this via the above referenced PR; you can see the reasoning in this video: https://www.youtube.com/watch?v=aw7CRQTuRfo

This will be released as v1.4 later this week (I have a few other tweaks to make).