<% pub_path = __FILE__.sub /.*(\/plugins\/[^\/]+\/).*/, '\1' %>
<% if video.has_web_version %> <%= render :partial => 'video_player', :locals => {:video => video} %> <% elsif not video.web_version_jobs.empty? %>
<%=_('Queued to generate the web version. Come back soon.')%>
<% else %>
<%=_('This video is not queued to the video conversor. Contact the site admin.')%>
<% end %>
<%=_('Quality options')%>:
    <%=_('Description')%>:
    <%= video.abstract %>

    <% if video.has_web_version %> <% end %> <% if video.allow_edit?(user) && !video.conversion_errors.blank? %>

    <%=_('Video conversion errors')%>

    <% end %>