Show embedded Flash over SSL

To address the issue of embedded Flash showing up as a blank box because of mixed content SSL issues in Chrome and Firefox (i.e.,…), would it be possible to rewrite the iframe element on the fly to specify SSL?

For example, I see something like:

If Newsblur sees an iframe with src from the http version of YouTube of Ustream, can Newsblur change that to https? If you edit that element to https, the embedded Flash shows up correctly. This doesn’t wouldn’t need to be done for all embedded content: just doing the YouTube, Ustream and Vimeo would probably cover the vast majority of the use cases.


Or borrow the rulesets from HTTPS Everywhere, and let someone else worry about which URLs to rewrite.