lib/videoclip/videos/blip.rb in videoclip-0.2.3 vs lib/videoclip/videos/blip.rb in videoclip-0.2.4
- old
+ new
@@ -6,10 +6,10 @@
end
def assign(uri)
@url = "http://blip.tv#{uri.path}"
response = Net::HTTP.get(URI.parse(@url + '?skin=api'))
- @key = parse_response(response, %w(response payload asset embed_lookup))
+ @key = parse_response(response, %w(response payload asset embedLookup))
end
def embed(style = nil)
%(<embed src="http://blip.tv/play/#{@key}" type="application/x-shockwave-flash" width="#{width(style)}" height="#{height(style)}" allowscriptaccess="always" allowfullscreen="true"></embed>)
end