The ability to instantly share videos (and therefore experiences) has taken the internet by storm over the last few years. Newbaby.com was built to take advantage of this phenomenon and bring it specifically to new mothers. The entire social networking aspect of the website was designed and developed by MVI and offers features that can’t be found anywhere else. The core of the website (the sharing of videos), however, is handled through an intricate integration with a third-party CDN provider.
A CDN (Content Delivery Network) is a network of servers which houses content and delivers it to internet users. When someone uploads a video on the Newbaby.com website, the video actually bypasses it and gets uploaded directly to the CDN. Then, the CDN redirects the user’s browser back to a designated script on the Newbaby.com website which interprets it and takes different actions based on the response. If the response is that the upload was successful, the system then connects to the CDN provider’s API and posts an XML request to retrieve all of the details on the video which was uploaded (file name, file size, running length, etc.) and then stores it in its own database.
Then, all thumbnails and videos are served up directly from the CDN via Newbaby.com’s custom-built flash-based interface. To the end user, this process is completely seamless and they have no idea that it’s even going on. This process has been in place and has functioned remarkably well since the launch of the Newbaby.com website.