( function() { var func = function() { var iframe_form = document.getElementById(‘wpcom-iframe-form-6fdc0a21099c181d29148629bb60236b-5951c85f33615’); var iframe = document.getElementById(‘wpcom-iframe-6fdc0a21099c181d29148629bb60236b-5951c85f33615’); if ( iframe_form && iframe ) { iframe_form.submit(); iframe.onload = function() { iframe.contentWindow.postMessage( { ‘msg_type’: ‘poll_size’, ‘frame_id’: ‘wpcom-iframe-6fdc0a21099c181d29148629bb60236b-5951c85f33615’ }, window.location.protocol + ‘//wpcomwidgets.com’ ); } } // Autosize iframe var funcSizeResponse = function( e ) { var origin = document.createElement( ‘a’ ); origin.href = e.origin; // Verify message origin if ( ‘wpcomwidgets.com’ !== origin.host ) return; // Verify message is in a format we expect if ( ‘object’ !== typeof e.data || undefined === e.data.msg_type ) return; switch ( e.data.msg_type ) { case ‘poll_size:response’: var iframe = document.getElementById( e.data._request.frame_id ); if ( iframe && ” === iframe.width ) iframe.width = ‘100%’; if ( iframe && ” === iframe.height ) iframe.height = parseInt( e.data.height ); return; default: return; } } if ( ‘function’ === typeof window.addEventListener ) { window.addEventListener( ‘message’, funcSizeResponse, false ); } else if ( ‘function’ === typeof window.attachEvent ) { window.attachEvent( ‘onmessage’, funcSizeResponse ); } } if (document.readyState === ‘complete’) { func.apply(); /* compat for infinite scroll */ } else if ( document.addEventListener ) { document.addEventListener( ‘DOMContentLoaded’, func, false ); } else if ( document.attachEvent ) { document.attachEvent( ‘onreadystatechange’, func ); } } )();
In true Internet fashion, a viral video of a dancing gorilla in a pool was recently uploaded by the Dallas Zoo. Video producer Bob Hagh then decided the video needed some music and chose wisely with “Maniac” by Michael Sembello and popularized by the 1983 movie, Flashdance.
Fellow twitter user Kristina Lucare retweeted Bob Hagh’s glorious edit and now the remixed version has been viewed more than the original and the Kristina’s retweet has been shared over 200,000 times on Twitter.