Avatar of REA_ANDREW
REA_ANDREWFlag for United Kingdom of Great Britain and Northern Ireland asked on

YouTube embedded videos loading slowly

Hi,

We allow people on one of our sites to post their embedded you tube videos thus displaying them on a site.  One the homepgae where we display various peoples videos, so displaying ten at once, we have found that our server is really taking a long time to load these.

Is this our server why the you tube videos take an age to load?  This has been commented by people with fast broadband speeds, so it is the server and not a client issue. If we find the same video on you tube it is fine.

Andrew
ASP.NETC#Windows Server 2003

Avatar of undefined
Last Comment
REA_ANDREW

8/22/2022 - Mon
cmhunty

How are the users displaying videos on your site? Are they just using the links given to them by YouTube? Is your server actually hosting anything? If not, the delay is more likely to be on the YouTube or client side.

Chris
ASKER
REA_ANDREW

They simply paste in the object code provided by YouTube next to each video.  We store this in the database and simply render it at runtime.

Andrew
SOLUTION
cmhunty

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
volking

I'm no expert, but ... doesn't each instance sets up a new application thread to shockwave. I think shockwave uses tunneling to establish the video stream. As each successive instance starts, that instance begins "stepping" on prior instance's packette requests which cause a re-send. As the quantity of re-sends escalate, the need to re-send escalates, too. Thus a snowball effect is manifested when your page tries to show multiple. Each instance is competing for the same resource, and STEPPING on each other, and the more they step on the more they resend. Geometrical degradation.

Try fewer video's on the same page. You may find a sweet spot where the tradeoff isn't so apparent. Good Luck!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
REA_ANDREW

Cheers for your time guys!

Appreciate it.

volking: Excellent explanation!!!

Andrew