Sha256: d70a247c19f979fa90a2e595ceba7190626bf817638c541ab24dd876a16acaa2

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 Bytes

Contents

<video id='<%= options[:id] %>' class='video-js vjs-default-skin <%= options[:class] %>' data-setup='<%= data_setup %>'>
  <%- if options[:sources] %>
    <%- options[:sources].each do |mime, url| %>
      <source src='<%= url %>' type='<%= mime %>' />
    <%- end %>
  <%- end %>
  <%- if options[:captions] %>
    <%- options[:captions].each do |lang, pair| %>
      <%- pair.each do |label, url| %>
        <track kind='captions' src='<%= url %>' srclang='<%= lang %>' label='<%= label %>'></track>
      <%- end %>
    <%- end %>
  <%- end %>
  <p class='vjs-no-js'><%= yield :vjs_rails %></p>
</video>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vjs_rails-0.2.0 app/views/vjs_rails/_vjs_rails.html.erb
vjs_rails-0.1.1 app/views/vjs_rails/_vjs_rails.html.erb
vjs_rails-0.1.0 app/views/vjs_rails/_vjs_rails.html.erb