lib/video_player.rb in video_player-1.0.0 vs lib/video_player.rb in video_player-1.0.1
- old
+ new
@@ -51,10 +51,10 @@
src = "//www.youtube.com/embed/#{video_id}?autoplay=#{autoplay}&rel=0"
iframe_code(src)
end
def vimeo_embed(video_id)
- src = "//player.vimeo.com/video/#{video_id}"
+ src = "//player.vimeo.com/video/#{video_id}?autoplay=#{autoplay}"
iframe_code(src)
end
def izlesene_embed(video_id)
src = "//www.izlesene.com/embedplayer/#{video_id}/?autoplay=#{autoplay}&showrel=0&showinfo=0"
\ No newline at end of file