miggy-acts_as_video_fu 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vimeo.rb +1 -1
- metadata +1 -1
data/lib/vimeo.rb
CHANGED
@@ -8,7 +8,7 @@ class Vimeo
|
|
8
8
|
|
9
9
|
def initialize(obj)
|
10
10
|
@clip_id = obj.video_url.split('/').last
|
11
|
-
@response = self.class.get('/api/oembed.json', :query => { :url => "http://vimeo.com/#{@clip_id}", :maxwidth =>
|
11
|
+
@response = self.class.get('/api/oembed.json', :query => { :url => "http://vimeo.com/#{@clip_id}", :maxwidth => 480, :maxheight => 350})
|
12
12
|
|
13
13
|
raise blank_error(obj) if @response.blank?
|
14
14
|
end
|