Add check of https links for oembed
Fix oembed
Fix oembed
Cleanup code