Created
June 27, 2017 09:21
-
-
Save Nursultan91/2bbf03be345e1086c05f824fcc002c9b to your computer and use it in GitHub Desktop.
Вот как выглядит код видео сейчас
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="wistia_<%= @task.video %>"> | |
<% if @task.video.length > 10 %> | |
<iframe width="640" height="360" src="<%= @task.video %>" frameborder="0" allowfullscreen></iframe> | |
<% else %> | |
<iframe src="https://player.vimeo.com/video/<%= @task.video %>" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen> | |
<div class=""> | |
<%= current_user.email %> | |
</div> | |
</iframe> | |
<% end %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment