Remove rewind button
Not necessary now with the seek slider
This commit is contained in:
@@ -22,10 +22,9 @@
|
||||
<div id="ugoira-controls">
|
||||
<p id="ugoira-load-progress">Loaded <span id="ugoira-load-percentage">0</span>%</p>
|
||||
<div id="ugoira-control-panel" style="width: <%= @post.image_width %>px;">
|
||||
<%= button_tag "Rewind", :id => "ugoira-rewind" %>
|
||||
<%= button_tag "Play", :id => "ugoira-play", :style => "display: none;" %>
|
||||
<%= button_tag "Pause", :id => "ugoira-pause" %>
|
||||
<div id="seek-slider" style="display: none; width: <%= @post.image_width - 150 %>px;"></div>
|
||||
<div id="seek-slider" style="display: none; width: <%= @post.image_width - 81 %>px;"></div>
|
||||
</div>
|
||||
<p id="save-video-link"><%= link_to "Save as video (right click and save)", post.large_file_url %></p>
|
||||
</div>
|
||||
@@ -81,10 +80,6 @@
|
||||
player_manually_paused = true;
|
||||
e.preventDefault();
|
||||
});
|
||||
$("#ugoira-rewind").click(function(e) {
|
||||
Danbooru.Ugoira.player.rewind();
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$("#seek-slider").slider({
|
||||
min: 0,
|
||||
|
||||
Reference in New Issue
Block a user