lib/onebox/engine/kaltura_onebox.rb in onebox-2.0.2 vs lib/onebox/engine/kaltura_onebox.rb in onebox-2.1.0
- old
+ new
@@ -6,9 +6,10 @@
include Engine
include StandardEmbed
always_https
matches_regexp(/^https?:\/\/[a-z0-9]+\.kaltura\.com\/id\/[a-zA-Z0-9]+/)
+ requires_iframe_origins "https://*.kaltura.com"
def preview_html
og = get_opengraph
<<~HTML