lib/onebox/engine/vimeo_onebox.rb in onebox-2.0.2 vs lib/onebox/engine/vimeo_onebox.rb in onebox-2.1.0
- old
+ new
@@ -5,9 +5,10 @@
class VimeoOnebox
include Engine
include StandardEmbed
matches_regexp(/^https?:\/\/(www\.)?vimeo\.com\/\d+/)
+ requires_iframe_origins "https://player.vimeo.com"
always_https
WIDTH ||= 640
HEIGHT ||= 360