New Video Player

At Discogs, we’re continually working to ensure that pages load as quickly as possible. This is especially important for release pages, which are very highly-trafficked and are often the first thing a new visitor will see!

Today we’re switching from our self-hosted JWPlayer installation to standard YouTube embedded playlists.

The old player was very large in file size, and comprised a huge chunk (20%) of our JavaScript payload. This code was being served on every single Discogs page, so your browser was still loading it even if there were no videos to display.

At the other extreme, for pages with many videos to display, the old player was not very intelligent about how it loaded thumbnail images. On the Aphex Twin artist page, your browser would make a couple of hundred requests to YouTube and download about 3MB of content — even if you never clicked Play.

Finally, the old player didn’t do so well on mobile devices. You’d get a black box with a play button instead of a preview image, and you’d be totally out of luck if you wanted to see the rest of the videos in the playlist. With more and more visitors browsing Discogs on mobile devices, this was kind of a problem!

The more modern YouTube player, which you’ve probably seen before, addresses all of these shortcomings. You’ll see better load times across Discogs thanks to the smaller JavaScript payload, and the video watching experience will only get better as Google rolls out improvements. On that Aphex Twin page, the player downloads only what it needs — about 100KB of images. And, as a bonus, it can play videos that the old player can’t.

We’ll keep working to make Discogs faster and easier to use, and we hope you enjoy what we’ve done so far!


Keep Digging

Want to join the Discogs Community of music lovers?
Sign up for an account, subscribe to Discogs newsletters, and discover music articles, exclusive news, limited-edition offers, and more.
––––
Return to Discogs Blog
×