lib/onebox/engine/twitch_clips_onebox.rb in onebox-2.0.2 vs lib/onebox/engine/twitch_clips_onebox.rb in onebox-2.1.0

- old
+ new

@@ -7,9 +7,11 @@ def self.twitch_regexp /^https?:\/\/clips\.twitch\.tv\/([a-zA-Z0-9_]+\/?[^#\?\/]+)/ end include Onebox::Mixins::TwitchOnebox + requires_iframe_origins "https://clips.twitch.tv" + def query_params "clip=#{twitch_id}" end def base_url