lib/embeddable/view_helpers.rb in embeddable-0.0.6 vs lib/embeddable/view_helpers.rb in embeddable-0.0.7
- old
+ new
@@ -13,9 +13,11 @@
elsif embeddable.video_on_vippy?
render 'embeddable/partials/vippy', attributes
elsif embeddable.video_on_liveleak?
# not supported
link_to embeddable.url, embeddable.url
+ elsif embeddable.video_on_brightcove?
+ render 'embeddable/partials/brightcove', attributes
else
link_to embeddable.url, embeddable.url
end
end
end