Embedded YouTube video slows down page load
Posted
by Tom S
on Stack Overflow
See other posts from Stack Overflow
or by Tom S
Published on 2010-04-20T17:19:36Z
Indexed on
2010/04/20
17:23 UTC
Read the original article
Hit count: 139
video-embedding
Hi,
total newbie here - trying to figure out how to make a page load faster with 1 embedded YouTube video on it - a very modest page takes an extra 5 seconds to completely load with the YouTube player showing up. I'd either like the page to load first or to only load the video when user clicks on it - don't know how to do that..
Here is the YouTube video embed code:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/kfZIIKVfJ1w&hl=en_US&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kfZIIKVfJ1w&hl=en_US&fs=1&rel=0&hd=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>
Thanks for your help!
© Stack Overflow or respective owner