YouTube Music lazy load

Hello :wave:

I’ve noticed the YouTube Music link isn’t playable in post it creates a oneboxed link to the video.

Is there any chance to makes YouTube Music links too to lazy loads like YouTube links?

Here is an example:

https://music.youtube.com/watch?v=d27gTrPPAyk&si=5sgyl-DnCSI3mBBM

I’ve also noticed if I remove the music subdomain before youtube.com then it works because the link is same as default YouTube link.

https://youtube.com/watch?v=d27gTrPPAyk&si=5sgyl-DnCSI3mBBM

I tried to manipulate this link to replace https://music.youtube.com link to https://youtube.com but it only works in composer preview. When I publish the post then the link will oneboxed. I think it should happens from server side so it’s probably a theme component is not enough to achieve this. :thinking:

Thank you :slightly_smiling_face:

3 Likes