You can do this with iframes(e.g.Turning a topic into interactive fiction ;)) but to adopt this code specifically as an optional addition to a post is going to require more work.
Perfect job imho for a freelancer if you have budget.
marketplace
Alternatively look for another provider that does iframes:
Weather widget — Add Weather widget to iFrame website (free and fast) maybe? ( Cannot vouch)