app/entities/lcms/engine/media_embed.rb in lcms-engine-0.3.0 vs app/entities/lcms/engine/media_embed.rb in lcms-engine-0.3.1

- old
+ new

@@ -24,10 +24,10 @@ query = URI(url).query Rack::Utils.parse_query(query)['v'] when /vimeo\.com/ url.match(%r{https?://(www\.)?vimeo.com/(\d+)}).try(:[], 2) when /youtu\.be/ - url.match(%r{https?://(www\.)?youtu\.be/([^"&?\/]+)}).try(:[], 2) + url.match(%r{https?://(www\.)?youtu\.be/([^"&?/]+)}).try(:[], 2) end end end end end