Load speed of youtube videos is slow

Hey guys!

I recently launched a new project https://community.sudolabs.com/. Works fine expect the “archive” tab, we I have embed Youtube videos. Since the links are pulled from CMS collection I am using video component not the youtube one.

Is there any way to optimise it at all? Tried to scroll through community without any luck, so even if you would point me into right direction I would be super grateful.

EDIT: My apologies in regards of working. I used a video component from CMS collection not embed component.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Could something like this tool work with your cms embed?


Hey! Thanks for the tip. However this created an embed code which you are not able to place into the CMS collection.

Shoot. I think it basically creates the same thumbnail without adding embed. I’m not sure if there’s a way to do something similar natively in Webflow using a click trigger to call up the embed.
Youtube embeds are the worst for pageloads!

Can you try adding a page preload on that specific link?

Or a page load animation to let users know the page is in progress?

Thanks for the tip. It did not help at all, or very little. I tried to create a page not using CMS and adding embeds manually. And it works quite well with the tool you recommended. The only downside is, that you are not able to place it there via CMS, which is very pity.

Luckily it’s internal microsite so it is not the end of the world. But still would be great to find a solution using video link and CMS. This is the test of this embed version. Archive

Wow, that loads a good bit quicker.
Maybe someone can chime in about using the embed with cms. I tried a few things but it made youtube angry.

1 Like

Hey there @Selmira I think we have another approach which might benefit you beacuse you’d be able to use the embed directly via CMS rather than having to use a static embed. Namely you’d need to add a text field into the cms called “Video ID” and just store the part after questionmark in that field.
Screenshot 2023-01-27 at 10.11.59

Once you do that you can add an embed on the page either in collection on a static page or on the CMS template directly and set it up like this

VideoID will then be pulled in automatically for each page as you defined it in the CMS. Let me know if you have any other questions and if this helped!

Flow Ninja Team!

Hey! Thanks a lot, but not going to lie I don’t follow at all :joy:. I understand how it works, but I don’t understand, how I should use this element, like what the structure of this specific section should be. And what this CMS element should consist of so it works.

  • Is it just embed element with this code as above?
  • Should I as next step just add hidden text field, which feeds data from the CMS collection?
  • Would that result that automatically new tile would be added, if I would add this video ID into browser editor?

Thanks a lot!

Hey there, hope this Loom helps you out. Let me know if you have any other concerns!

1 Like

Hey! Regards for the advice. But this resulted in an embed code that you cannot add to the CMS collection.

I’m not sure I follow? @alexsmith12

Hey! Actually this solution works like a charm. Just check the loom. It’s super easy.