3rd Party JS widgets

The client requested that their media gallery widgets be served via a JavaScript embed rather than an iFrame. This is agreeable and required the use of JSONP to get around the same origin policy.

Technologies used: Core JavaScript, jQuery, Custom JSON script, MediaFactory fm:MediaList, JSONP, Galleria.IO

How it all works: Using a server-side script to create a custom JSON feed, I am calling the object over JSONP to allow the widget to be embedded on a 3rd party website. Leveraging the elegant Galleria.io API for the creation of a slick gallery slideshow. See it in action here!

Custom Widget

 

An  example of this widget, and 2 other 3rd party embeddable JSONP widgets can be found at the Filemobile GitHub.

 

admin