video/app/views/admin/video_channels/show.html.erb

11 lines
607 B
Plaintext

<%= @video_channel.channel_link %>
<br>
<br>
Video Title: <%= @r['items'].first['snippet']['title'] %><br>
Description: <%= @r['items'].first['snippet']['description'] %><br>
Publish Date: <%= @r['items'].first['snippet']['publishedAt'] %><br>
img1: <img src="<%= @r['items'].first['snippet']['thumbnails']['default']['url'] %>"><br>
img2: <img src="<%= @r['items'].first['snippet']['thumbnails']['medium']['url'] %>"><br>
img3: <img src="<%= @r['items'].first['snippet']['thumbnails']['high']['url'] %>"><br>
Channel Title: <%= @r['items'].first['snippet']['channelTitle'] %><br>
<%= @r['nextPageToken'] %>