<div class="text"><%= request.text %></div>
<div class="description"><%= request.description %></div>

<% if request.completed_by? current_author %>
  <%= t 'tasks.taskables.urls.responses.already_answered' %>
  <div class="response">
    <% request.responses.by(current_user).each do |response| %>
      <%= embed(response, "1000px", "500px") %>
    <% end %>
  </div>
<% else %>
  <div class="form">
    <%= render partial: 'tasks/taskables/url/responses/form', locals: { request: request } %>
  </div>
<% end %>

<div class="text"><%= request.text %></div>
<div class="description"><%= request.description %></div>

<% if request.completed_by? current_author %>
  <%= t 'tasks.taskables.urls.responses.already_answered' %>
  <div class="response">
    <% request.responses.by(current_user).each do |response| %>
      <%= embed(response, Tasks.config.video_width, Tasks.config.video_height) %>
    <% end %>
  </div>
<% else %>
  <div class="form">
    <%= render partial: 'tasks/taskables/url/responses/form', locals: { request: request } %>
  </div>
<% end %>

Use configs to define the width and height of the embedded video
Use configs to define the width and height of the embedded video
