lib/onebox/engine/twitch_video_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/twitch_video_onebox.rb in onebox-1.8.23
- old
+ new
@@ -1,11 +1,12 @@
require_relative '../mixins/twitch_onebox'
class Onebox::Engine::TwitchVideoOnebox
def self.twitch_regexp
- /^https?:\/\/(?:www\.)?twitch\.tv\/videos\/([0-9]+)/
+ /^https?:\/\/(?:www\.)?twitch\.tv\/videos\/([0-9]+)/
end
+
include Onebox::Mixins::TwitchOnebox
def query_params
"video=v#{twitch_id}"
end