parent
c0af0a2897
commit
8421884c06
3 changed files with 4 additions and 1 deletions
|
|
@ -37,6 +37,8 @@
|
|||
%iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=> request.ssl? ? "https://" : "http://" + "flic.kr/p/#{@event.video_id}/player/268a054da2"}
|
||||
-elsif @event.video_type == Event::VIMEO
|
||||
%iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=> "//player.vimeo.com/video/#{@event.video_id}"}
|
||||
-elsif @event.video_type == Event::SPEAKERDECK
|
||||
%iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=> "//speakerdeck.com/player/#{@event.video_id}?"}
|
||||
-else
|
||||
%iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=> request.ssl? ? "https://" : "http://" + "www.youtube.com/embed/#{@event.video_id}?rel=0"}
|
||||
-else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue