By Colin Girard on Monday, 15 January 2018
Posted in General Issues
Replies 9
Likes 0
Views 486
Votes 0
Hi, I'm working on optimizing our site, and am seeing that a Video showing in the stream is increasing the page load size by the size of the video. Is this the way it is supposed to be?

Any thoughts about my post, "alternative to video embeds, saving over 500MB from site load."
This would be a huge benefit.
Hey Colin,

Hm, is that particular video an uploaded video? If it is, it could be taking up some bandwidth depending on the size of the video. How big is that video file?
·
Monday, 15 January 2018 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, They are just video links

there are 2 - both facebook video links
https://www.facebook.com/matadornetwork/videos/10155723095299394/

video-sea1-1.xx.fbcdn.net 5.66 MB
·
Tuesday, 16 January 2018 02:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Can you share with us which page requested to load this video-sea1-1.xx.fbcdn.net (5.66 MB) on your site?

Because i tried to check on your stream listing page and single video page, it seems like it doesn't request load this video-sea1-1.xx.fbcdn.net from the console tool.
·
Tuesday, 16 January 2018 18:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Arlex,
I have archived it, and am trying to figure out how to unarchive it.
does hiding from the stream hide from everyone or just me?
does deleting from the stream, delete just from the stream or everywhere on the site?

There are a bunch of other videos showing in the speed test here
https://tools.pingdom.com/#!/cLJi4U/https://www.ehcanadatravel.com/

screenshot

10MB total from video-lax3-2.xx.fbcdn.net
·
Tuesday, 16 January 2018 23:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Colin,

Those css files are probably being rendered by Facebook's API but I think this is a false positive report by pingdom just like some other performance monitoring tools like pagespeed.

Many of these scripts are rendered asynchronously, and it does not have any effect on the page's loading speed. In fact, if you place google ad's api on the page, pagespeed and pingdom would be complaining about it too. But there isn't really anything that can be done from our end because in order to render their items on the page, you need to use their API
·
Tuesday, 16 January 2018 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Any thoughts of implimenting the 'alternative to video embeds' system into ES, as that can save over 500MB from site load.

You can see it here, https://www.labnol.org/internet/light-youtube-embeds/27941/
·
Monday, 29 January 2018 01:07
·
0 Likes
·
0 Votes
·
0 Comments
·
If you check on the page source on your site, the way how we render those Youtube/Facebook video was actually used embed code to populate those video on the page.

You can refer on my attached screenshot below.
·
Monday, 29 January 2018 12:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes i see the embed is used, unfortunately that loads 500kb from google. The alternative solution i found does not load the 'google stuff' until the video is played. saves 500kb on initial page load. Which is a waste if the video is not played. This is the way Google+ load video.

It's a simple solution, thought maybe it could be integrated into ES to greatly speed up any video embeds?
Colin
·
Tuesday, 30 January 2018 00:24
·
0 Likes
·
0 Votes
·
0 Comments
·
hey Colin,

Thanks for your input, we will see if we can do something about this in Easysocial 2.2.

We will properly try to load the video thumbnail first, when the user click on that play button, then it only fetch those embedded code and render on the stream.
·
Tuesday, 30 January 2018 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post