9 lines
487 B
Plaintext
9 lines
487 B
Plaintext
<h2>Videos</h2>
|
|
<ul class="video-list">
|
|
<% @client_videos.videos.each do |v| %>
|
|
<% @video = v.video_id.split(/tag:youtube.com,2008:video:+/).last %>
|
|
<% @vd = UnvlogIt.new("https://www.youtube.com/watch?v=#{@video}")%>
|
|
<li><p class="video-title"><%= @vd.title %>
|
|
<div class="video"><%=link_to image_tag(@vd.thumbnail, :size => '200x150'), "https://www.youtube.com/watch?v=#{@video}", :target => "blank" %></div></li>
|
|
|
|
<%end%> |