PAYPAL Homepage: HTML5 video is so smooth, how?

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
Verahta
Posts: 440
Joined: Wed Aug 24, 2011 1:50 am

PAYPAL Homepage: HTML5 video is so smooth, how?

Post by Verahta »

https://www.paypal.com/us/home

I inspected the page and they are using HTML5 video. My question is, how is it so smooth with almost no loading time? Is it just because it's a small video file or what is the technique here?

Thanks for any insight into this.
"In order to understand recursion, one must first understand recursion".
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: PAYPAL Homepage: HTML5 video is so smooth, how?

Post by Jackolantern »

I would assume because it is so small. It is only a few seconds long, so probably isn't even 1mb, which will load almost instantly even for slow broadband.
The indelible lord of tl;dr
User avatar
MikuzA
Posts: 394
Joined: Thu Aug 08, 2013 8:57 am

Re: PAYPAL Homepage: HTML5 video is so smooth, how?

Post by MikuzA »

It seems that it's 2.2MB in size, but I would say the biggest thing in this is the .webm.

If you compare the loading of these two,

https://www.paypalobjects.com/webstatic ... bsite.webm
https://www.paypalobjects.com/webstatic ... ebsite.mp4

From my point of view the webm starts earlier than mp4. But not really sure what is the difference in these formats for real :D
But it's awesome to see this kind of stuff nowadays..

10s in that 'awesome' resolution = 2.2MB, that's kinda cool.
I saw this earlier and got some awesome Ideas to making more cooler websites of this.
Why so serious?

Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: PAYPAL Homepage: HTML5 video is so smooth, how?

Post by Jackolantern »

MP4 is the highest quality format that is decently supported, but it has a complicated chain of patents that made some vendors dislike it. WebM is Google's combination of VP8, Vorbis and Matroska into a single container. It is noted for being free of patents, but other browser vendors have been slow to adopt it since Google created it.
The indelible lord of tl;dr
Post Reply

Return to “General Development”