Getting past the max 1MB code in a pen limitation : put the base64 encoded image or audio or video in a GitHub gist and use the raw as an external resource.

This fails in Chrome because MIME type so use rawgit.com to get around this.

Tested & works in Firefox 38, Chrome 43, IE11 on Windows 8.

Oh, and in case anyone is wondering why in Hell would I want to base64 an image or a video when I can just upload it somewhere and link to it... the reason is same origin restriction for image (or audio or video) manipulation.