<span class="glyphicon glyphicon-forward"></span>
</button>
</div>
- <div class="btn-group">
- <button
- id="btnlove"
- type="button"
- class="btn btn-default"
- onclick="clickLove();"
- >
- <span class="glyphicon glyphicon-heart"></span>
- </button>
- </div>
- <!--
- <div class="btn-group">
- <div class="btn btn-toolbar btn-default">
- <span id="volume-icon" class="glyphicon glyphicon-volume-up"></span>
- <div id="volumeslider"></div>
- </div>
- </div>
--->
<div class="btn-group" role="group">
<button
type="button"
></span>
</button>
</div>
+ <div class="btn-group" role="group">
+ <div class="btn btn-toolbar btn-default">
+ <span
+ id="volume-icon"
+ class="glyphicon glyphicon-volume-up"
+ ></span>
+ <div id="volumeslider"></div>
+ <span id="volume-number"></span>
+ </div>
+ </div>
</div>
<form id="search" class="navbar-form navbar-right" role="search">
class="glyphicon glyphicon-play"
></span>
<span id="currenttrack"></span>
+ <span id="love">
+ <button
+ id="btnlove"
+ type="button"
+ class="btn btn-default"
+ onclick="clickLove();"
+ >
+ <span class="glyphicon glyphicon-heart"></span></button
+ ></span>
</h1>
<h4>
<span id="artist" class="text"></span>
obj.data.elapsedTime - elapsed_minutes * 60;
$('#volumeslider').slider(obj.data.volume);
+ $('#volume-number').text(obj.data.volume + '%');
var progress = Math.floor(
(100 * obj.data.elapsedTime) / obj.data.totalTime
);