lib/onebox/engine/steam_store_onebox.rb in onebox-2.0.2 vs lib/onebox/engine/steam_store_onebox.rb in onebox-2.1.0
- old
+ new
@@ -6,9 +6,10 @@
include Engine
include StandardEmbed
always_https
matches_regexp(/^https?:\/\/store\.steampowered\.com\/app\/\d+/)
+ requires_iframe_origins "https://store.steampowered.com"
def placeholder_html
og = get_opengraph
<<-HTML
<div style='width:100%; height:190px; background-color:#262626; color:#9e9e9e; margin:15px 0;'>