replaced rackcdn with contentapi for images and videos