How would I create a shortcode such that when a URL is pasted in a Wordpress blog post in Visual mode it get parsed and converted to an iFrame?
Here's an example: http://en.support.wordpress.com/shortcodes/getty-images/
That guide illustrates that the user can paste a URL to a GettyImage in the Visual mode and it gets converted to an iFrame.