13
14
15
|
# File 'lib/videoclip/videos/vimeo.rb', line 13
def embed(style = nil)
%(<object width="#{width(style)}" height="#{height(style)}"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=#{@key}&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=#{@key}&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="#{width(style)}" height="#{height(style)}"></embed></object>)
end
|