Sha256: 0ffd5c3d5adec3e379b21b59a9fe08a421d346d691215b23c3336c1d70430881

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

<div id="myModal" class="modal hide">
  <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
    <h3><%= video.name %></h3>
  </div>
  <div class="modal-body">
    <div class="modal-video">
      <div class="video-js-box modal-video-box">
        <div id="theme_video"></div>
      </div>
    </div>
  </div>
  <div class="modal-footer">
    <div class="btn-group" data-toggle="buttons-radio">
      <button class="btn btn-like <%= video.liked_css %>">
        <i class="icon-thumbs-up"></i> <%=t 'woople_theme.video_modal.like' %>
      </button>
      <button class="btn btn-dislike <%= video.disliked_css %>">
        <i class="icon-thumbs-down"></i> <%=t 'woople_theme.video_modal.dislike' %>
      </button>
    </div>
  </div>
</div>
<%- content_for :extra_javascript do %>
<script type="text/javascript">
  jwplayer('theme_video').setup({
    'flashplayer': 'assets/player.swf',
    'id': 'playerID',
    'width': '768',
    'height': '432',
    'file': '<%= video.src %>'
  });
</script>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
woople-theme-0.6.3 app/views/woople-theme/_video_modal.html.erb
woople-theme-0.6.2 app/views/woople-theme/_video_modal.html.erb
woople-theme-0.6.1 app/views/woople-theme/_video_modal.html.erb