Add playback time
This commit is contained in:
parent
66998cafa8
commit
ffeec0bd36
2 changed files with 5 additions and 0 deletions
|
|
@ -1277,6 +1277,7 @@ export class Player extends React.Component {
|
||||||
</button>
|
</button>
|
||||||
<span>{speedStr}</span>
|
<span>{speedStr}</span>
|
||||||
<span style={to_right}>
|
<span style={to_right}>
|
||||||
|
<span className="session_time">{formatDuration(this.state.currentTsPost)} / {formatDuration(this.buf.pos)}</span>
|
||||||
<button title="Drag'n'Pan" type="button" className="btn btn-default btn-lg"
|
<button title="Drag'n'Pan" type="button" className="btn btn-default btn-lg"
|
||||||
onClick={this.dragPan}>
|
onClick={this.dragPan}>
|
||||||
<i className={"fa fa-" + (this.state.drag_pan ? "hand-rock-o" : "hand-paper-o")}
|
<i className={"fa fa-" + (this.state.drag_pan ? "hand-rock-o" : "hand-paper-o")}
|
||||||
|
|
|
||||||
|
|
@ -422,3 +422,7 @@ table.listing-ct > thead th:last-child, tr.listing-ct-item td:last-child {
|
||||||
display:block;
|
display:block;
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.session_time {
|
||||||
|
margin-right:5px;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue