Custom Lazy Loading YouTube Embed Code

Custom Lazy Loading YouTube Embed Code

Coding in Public

3 года назад

12,135 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@cristianguzmantamayo4904
@cristianguzmantamayo4904 - 24.07.2021 18:14

Thanks for teach us things useful like this!

Ответить
@joshuakirby6952
@joshuakirby6952 - 25.07.2021 21:41

Wow! First time seeing srcdoc used, and I'm learning so much from your videos!

Ответить
@swatantrasaurabh1427
@swatantrasaurabh1427 - 02.01.2022 05:56

it reduced my page load time from 21sec to 0.7 sec really helpful

Ответить
@proche.io-broadcasttonearb40
@proche.io-broadcasttonearb40 - 17.03.2022 12:54

Does this work on mobile phone portrait mode?

Ответить
@matheusborghi7873
@matheusborghi7873 - 16.04.2022 05:52

Hi from Brazil, thanks for the video! My only doubt: there is some way to make the video autoplay after someone click on the image? Because at 1min40s looks like it needs one more click to start.

Ответить
@trendingsong6055
@trendingsong6055 - 28.05.2022 12:59

its really helpfull..👍
thanks

Ответить
@thalesa4715
@thalesa4715 - 05.09.2022 04:01

ty ure a hero!

Ответить
@agcboost2866
@agcboost2866 - 07.09.2022 12:30

Hi there, thanks for the video! I seem to have some trouble getting the thumbnail on there? Hmm, what to do?

Ответить
@solimaralves
@solimaralves - 28.09.2022 17:30

Wow...
Very good. That helped me a lot.
Thank you.

Ответить
@betellopez3939
@betellopez3939 - 19.10.2022 11:27

You have the same voice as michael from the office.

Ответить
@bnr_sports
@bnr_sports - 28.10.2022 11:57

how to set autoplay when someone click on the svg button

Ответить
@donaldedgarvisuals
@donaldedgarvisuals - 25.01.2023 03:24

Hey this works perfectly, but is there a good way to implement this many times in an HTML page. I want to have a page for my portfolio showing many of my projects, but is there a better way than just copying and pasting this massive piece of code for each embed?

Thanks.

Ответить
@alexandrealencar1796
@alexandrealencar1796 - 30.01.2023 13:11

Thank you

Ответить
@andriisukhariev
@andriisukhariev - 09.02.2023 14:36

Hi. Do you know how to deal with chrome policy about desabled autoplay, until user actually hit play button on any iframe on current site? Any of these "lazy" loading for iframe will lead to double click the play button when it's first time on a site... any ideas how to deal with it?

Ответить
@whiteswordwarrior9995
@whiteswordwarrior9995 - 28.09.2023 08:16

Does this work in webflow?

Ответить
@oculoslocs
@oculoslocs - 11.02.2024 12:58

Autoplay isn't working, any idea what it is?

Ответить
@joshuasoonar
@joshuasoonar - 19.05.2024 10:01

hey chris! thanks for your effort helping us with this iframe embed YT loading problem. I like to ask you if in the meantime you found a solution to display the video title - and a bit further to deny displaying related videos after stopping the player or at the video end? ususally its been done by "?rel=0" but this seems not to work for me. do you have any ideas?

Ответить
@kauannascimento3327
@kauannascimento3327 - 27.05.2024 18:41

What a amazing video! No problems here, 100% working! So helpful

Ответить
@ShadyWadiii
@ShadyWadiii - 09.12.2024 20:47

THANK YOU! This fixes all my problems

Ответить