optimized backward compatibility code
moved upload_iframe_src callback to compatibility class